Commit Graph

2151 Commits

Author SHA1 Message Date
mrg 5e31aeccba TARGET_VERSION is used in collect2.c now. avoid referencing the
m68k_cpu_flags variable and simply print "(NetBSD/m68k/68010 ELF)".
2011-07-02 13:18:39 +00:00
mrg bf05dbe33a revert previous; we need this. 2011-07-02 02:38:31 +00:00
mrg 9ee2415f4c mknative-gcc regeneration. 2011-07-01 10:06:01 +00:00
mrg e6ee85c0cf don't set EXTRA_FAKE_HEADERS here. 2011-07-01 10:04:36 +00:00
mrg f05fee10de everyone needs the options* stuff here. 2011-07-01 10:04:13 +00:00
mrg ae4d8014dc fix version.c defines. now the version says:
gcc version 4.5.3 (NetBSD nb1 20110620)
instead of:
	gcc version 4.5.320110428
2011-07-01 10:03:17 +00:00
mrg 1051078336 various mknative-gcc updates. 2011-07-01 05:10:28 +00:00
mrg 5d603aab9d move the bsd.lib.mk include later so it works properly. 2011-07-01 05:07:59 +00:00
mrg 94d22e3eb3 declare options.h as an EXTRA_FAKE_HEADERS. 2011-07-01 05:07:46 +00:00
mrg 15700d9d35 fix the _fixunssfsi _fixunsdfsi _fixunsxfsi functions. 2011-07-01 05:07:06 +00:00
mrg 3b3943f584 remove LIB2FUNCS_STATIC_EXTRA and supporting code.
netbsd does not need this.
2011-07-01 04:05:22 +00:00
joerg b58b5b09d9 Fix memset usage. XXX audit the rest where hard coded sizes are used 2011-07-01 02:24:14 +00:00
mrg db3c8201d3 avoid an overflow condition. 2011-07-01 02:18:54 +00:00
mrg 1b7bb725cc avoid a potential uninitialised variable problem. 2011-07-01 02:18:37 +00:00
joerg 22add3a49f Fix memset usage. 2011-07-01 02:01:21 +00:00
mrg 396ba001cf (re-)run mknative-gcc for i386, amd64, sparc, sparc64, powerpc and arm.
- both x86 seem to be working fine now
- sparc static binaries work, dynamic fails
- sparc64 fails at startup, accessing beyond the stack
- powerpc and arm still have libgcc issues
2011-07-01 01:57:01 +00:00
mrg 43ff8cfa90 - add support for building GMP for powerpc, sparc, arm and armeb.
- XXX armeb files modified from arm, not based upon generated ones.
2011-07-01 01:51:02 +00:00
mrg ef5d539c71 remove hard-coded CONFIG_TOP_SRCDIR macro definition 2011-07-01 01:49:42 +00:00
mrg b464704f46 use C versions of various sources for now. there's an m4 problem that
fails to properly deal with defframe() macro being defined.
2011-07-01 01:49:18 +00:00
mrg 61fbc9498c XXX: patch these files to let them work with src/compat style builds 2011-07-01 01:48:02 +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
mrg 8351e86be9 clean up and add some missing dependancies 2011-07-01 01:29:12 +00:00
mrg 680385b441 XXX: apply -Wno-error/friends to a few files 2011-07-01 01:25:52 +00:00
mrg 0b1fbc4c4d consolidate unwind.h and other hacks into a new Makefile.hacks that
everyone else can use
2011-07-01 01:24:53 +00:00
mrg 6a5d3863fb fix a merge error. 2011-07-01 01:24:04 +00:00
mrg 6a59c048bc define HANDLE_PRAGMA_PACK_PUSH_POP to 1 not just define it 2011-07-01 01:23:23 +00:00
mrg 4e53a0048b move the LIBGCC_PICSUFFIX hack into netbsd.h as the REAL_LIBGCC_SPEC. 2011-07-01 01:23:00 +00:00
mrg 4986544fce install the posix_memalign version of mm_malloc.h, clean up 2011-07-01 01:22:07 +00:00
mrg db5ab5fad8 install decimal, parallel and tr1_impl headers 2011-07-01 01:21:38 +00:00
mrg 065e4d30ca apply our LIBGCC_PICSUFFIX to one more use of "static_name".
i hope that this is the last merge botch here to fix...
2011-06-30 03:37:23 +00:00
tsutsui b6c14cf676 More sort. (i.e. fix merge botch) 2011-06-29 14:52:18 +00:00
tsutsui 8e44b59edd Add definitions for newsmips Xorg server. Build test only. 2011-06-29 14:49:12 +00:00
tsutsui 9e237288de Sort. 2011-06-29 14:38:02 +00:00
mrg 5c7719af90 GCC 4.5 x86 installs a bunch more platform header files 2011-06-29 08:37:10 +00:00
mrg 65ffc105d5 enable lint.
fix the 32 / 64 bit problem.
2011-06-29 08:09:43 +00:00
mrg 8df532f539 powerpc*-netbsd* wants svr4.h these days. 2011-06-29 08:08:54 +00:00
mrg 233ed76519 Makefile and other snippets for gmp on i386.
XXX: this uses the LCD i486 parts, which may not be the fastest
2011-06-29 08:06:47 +00:00
mrg 1efd7c1778 mknative-gcc output for i386 with GCC 4.5.3. 2011-06-29 08:05:51 +00:00
mrg 12c4a0447c generated files from mknative-gcc. 2011-06-29 06:25:33 +00:00
mrg 48e8a6f76b pull across from gcc 4.1 tree:
>revision 1.2
>date: 2007/09/15 16:24:06;  author: christos;  state: Exp;  lines: +10 -0
>Add a hack to handle that the __stack_chk_fail_local call is not generated
>properly for pic code; more explained in the code.
2011-06-29 06:24:48 +00:00
mrg 6df884f582 add support for C files that are linked to different names for building. 2011-06-29 05:18:32 +00:00
mrg 0f414831b1 pull across these new files from old gcc. from chuq. 2011-06-29 04:59:10 +00:00
mrg fa32e7c8ca add gmp generated files for sparc64 2011-06-29 02:56:24 +00:00
mrg 56349c28d3 use __unused instead of having a function call itself, to provide an
empty translation unit.
2011-06-29 02:41:03 +00:00
mrg 1f06d4e421 protoize/unprotoize are no more. 2011-06-29 02:27:17 +00:00
mrg da2c19b170 add the generated manuals. 2011-06-29 02:26:47 +00:00
mrg 7057fa83ce apply some .if checks upon dependancies. 2011-06-29 02:17:35 +00:00
mrg 1bdcc16077 make this build with GCC 4.5. 2011-06-29 02:17:17 +00:00
mrg ced2f717a8 move gcc-options.c generation in here.
handle i386 in here as well.

XXX: need to see about mknative-gcc handling eg, driver-i386.c
2011-06-29 02:16:52 +00:00
mrg 88f9a3a147 use LIBISPRIVATE here. 2011-06-29 02:15:34 +00:00