andvar
5fb5f516a8
fix various typos in comments and log messages.
2022-05-29 10:47:39 +00:00
mrg
2c8db19d81
remove obsolete files.
2021-06-18 06:34:00 +00:00
christos
9f4fca625f
Good bye oabi! Tested building earmv7hf.
2021-06-07 17:11:16 +00:00
simonb
4439248b19
MIPS n64 dynamic binaries have worked for a while now, remove -static
...
for these.
2021-05-31 02:10:37 +00:00
christos
1075ff19ce
define BFD_MACHINE_ARCH. This worked by accident before since the default
...
64 bit target was 32 bits.
2021-04-25 18:44:04 +00:00
christos
3c0adb8bc4
mips64 -> o32 64
...
mipsn64 -> o32 n32
2021-04-25 15:18:23 +00:00
simonb
76c08b0f65
Use the compat machinery to build "native" IPF binaries as ipfilter
...
doesn't use compat32 64-bit alignment/size safe structures.
Fixes IPF on at least mips64.
2021-01-05 11:07:59 +00:00
christos
20f77b55bf
1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
...
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
sense because the documentation says that this flag does not make a
difference in apcs mode, but might produce larger code in non-APCS mode.
So we just add it to silence the warnings.
2019-10-24 18:46:20 +00:00
christos
f55ccae981
make all lines look the same, and put one arch per line.
2019-06-13 21:17:54 +00:00
mrg
badcd40f23
- various updates for GCC 7 riscv definitions: -mabi and -march changed
...
- add missing LIBGCC_MACHINE_ARCH
- add the new ldscripts for riscv64 MKCOMPAT.
2019-04-18 10:07:07 +00:00
macallan
6135589eeb
don't build kernel grovelling tools as n64 on sgimips - we don't actually have
...
n64 kernels there. Yet.
2018-09-20 02:51:21 +00:00
christos
c51a2518ad
gcc aarch64 does not have multilib
2018-07-16 00:32:59 +00:00
mrg
629c2d4d76
fix a comment.
2018-02-06 10:00:00 +00:00
skrll
7af73afe93
Don't mix abis in any CRUNCHEDPROG
2017-01-05 21:28:42 +00:00
mrg
1383c0c74f
build vmstat as n64 on mips64. only kernel histories and hash stats
...
need to be fixed fot this to be reverted.
2016-12-29 23:42:38 +00:00
mrg
0537635d0c
for 64 bit mips platforms where we built userland largely as n32 by
...
default, build a handful of tools as n64 so they work properly.
unfortunately, they're also static as dynamic n64 has a problem.
of these tools pstat is probably the lowest hanging fruit to convert
to sysctl. systat would be close were it not for the netstat screen,
which includes netstat itself.
the rest are difficult to perhaps foolish.
the upside is that netstat, pmap and fstat all work properly now.
2016-12-23 10:19:57 +00:00
christos
d6ee18cb90
add LIBGCC_MACHINE_ARCH
2016-10-22 20:33:51 +00:00
christos
3e9c9a9b4c
set LIBC_MACHINE_ARCH otherwise we don't get 'double' intrinsics.
2016-10-07 19:10:37 +00:00
mrg
cf4dd8937a
remove the xfree86 reachover makefiles and the vast majority of
...
the support in the rest of the source tree.
X11 sets could use some cleaning up perhaps (just deletion, as
we've never really marked the old X11R6 as obsolete for native
xorg using platforms so far either.)
2015-07-23 08:03:24 +00:00
matt
7514a3a7c6
Make clang happy by adding -mfpu=none to -mfloat-abi=soft
2015-07-05 20:19:29 +00:00
matt
30074b3e8a
Add MKCOMPATX11 knob for making X11 compat libraries.
2015-06-27 16:21:07 +00:00
matt
589b128fbc
Support building the xorg X11 libraries under MKCOMPAT.
...
Add XORG_MACHINE_ARCH to compat's bsd.*.mk
Turn xorg makekeys and makestrs into real host tools which are installed into
${TOOLSDIR}
2015-06-24 22:20:24 +00:00
matt
f410cbcfe8
Add tests/share/mk and external/bsd/atf/tests/atf for MKCOMPATTESTS
2015-06-22 00:11:33 +00:00
matt
596c50e920
Reduce the amount that's include protected.
2015-06-22 00:09:39 +00:00
matt
2e9f40f3b7
Add support for MKCOMPATTESTS
2015-06-19 18:17:49 +00:00
matt
058cc44625
Prevent multi inclusion
2015-06-19 18:17:26 +00:00
matt
592025efa0
Only support oabi for earm*
2015-05-27 15:35:23 +00:00
martin
f839e3925f
Fix broken subdir selection after arm architecture explosion
2015-05-25 12:42:26 +00:00
matt
e0e6345e09
Add RISC-V support
2014-09-19 17:38:46 +00:00
matt
6cf6fe02a9
New files for Userland support of UCB RISC-V (both 32-bit and 64-bit)
2014-09-19 17:36:24 +00:00
matt
a5887d4e99
Enable building eabihf compat libraries after fixing bsd.eabihf.mk to use
...
use the proper variant of arm*--netbsdelf-eabihf
2014-09-10 22:43:36 +00:00
matt
f659dce042
Add
...
LDFLAGS+= -Wl,-m,elf32ppc_nbsd
2014-08-23 02:20:55 +00:00
matt
72b4106e92
Fix else if botch
2014-08-11 04:33:30 +00:00
matt
04ea670ded
Add compat dirs for aarch64
2014-08-10 23:40:33 +00:00
matt
7b20bc5be5
MKCOMPAT fixes for aarch64
2014-08-10 23:26:25 +00:00
matt
b451be7021
No need for LDFLAGS
2014-03-07 05:48:30 +00:00
matt
18aa205b7e
Add MKCOMPAT support for powerpc64.
2014-03-07 04:16:25 +00:00
joerg
69fd5d473d
Move flags for ARM's APCS ABI into a common variable. Add some forces to
...
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
matt
520583e243
MKCOMPAT support for earm.
2013-04-27 08:44:35 +00:00
matt
eed2e00265
Define LIBGCC_MACHINE_ARCH so correct files are used o32 libgcc.
2013-02-14 09:22:18 +00:00
joerg
067600c8cf
Revert last, it breaks the tricks xsrc uses.
2012-08-23 21:21:14 +00:00
joerg
8e96262375
Remove SHLIBINSTALLDIR and SHLINKINSTALLLIBDIR. Add rpath entries, if
...
SHLIBDIR differs from /usr/lib.
2012-08-23 15:45:02 +00:00
joerg
933525b99b
Implement build_install in src/lib/Makefile, which traverses the
...
subdirectories and invokes dependall/install. Do this in groups
delimited by .WAIT to ensure that depending libraries can use the
installed versions and don't need to know the locations in the source
tree.
Use this new target in src/Makefile to replace most of the adhoc library
logic with two special cases, src/lib and src/compat. Adjust
sys/Makefile to include the module directory when building them. Add
some necessary .WAITs in src/lib/Makefile to reflect the dependencies
from src/Makefile and also add the rump libraries here.
2012-08-17 16:22:27 +00:00
matt
4d4aee085b
Initial MKCOMPAT support for ARM EABI. (doesn't quite work right)
2012-08-03 08:02:47 +00:00
wiz
cbdb6a1f71
Fix typos; wording.
...
From patch by Bug Hunting.
2012-03-29 18:35:11 +00:00
mrg
e9341e1933
build compat versions of libgomp for everything except mips N64 (for now.)
2011-09-23 06:44:36 +00:00
mrg
3f11e25c49
build GMP, MPFR and MPC as private libraries just for GCC. don't
...
install the headers or librarys into the system.
someone who really cares could make them shlibs again and have them
installed into eg, /usr/lib/gcc. not convinced it is worth it.
2011-07-21 03:13:30 +00:00
mrg
c590ede942
make mips64 builds of gmp and mpfr work including compat libs.
2011-07-10 03:05:33 +00:00
mrg
4bd91dda69
the gmp/mpfr subdirs are mipsel/mipseb.
2011-07-04 12:00:49 +00:00
mrg
95be9d4b80
- add support for src/compat builds
...
- use .include not .sinclude for the arch Makefile.inc file
- clean up
2011-07-01 01:30:16 +00:00