Commit Graph

202454 Commits

Author SHA1 Message Date
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
mrg
e7c388dbdf add a comment to confirm a workaround as only being a GCC 4.1 issue. 2011-07-01 03:58:10 +00:00
matt
db6dfce31a Fix some bugs [exceed array bounds]. Simplify. 2011-07-01 03:20:06 +00:00
joerg
7293bf2d37 Replace malloc + incorrect memset with calloc. 2011-07-01 03:09:29 +00:00
joerg
a6bdeabc26 Fix memset usage. 2011-07-01 03:07:21 +00:00
joerg
c4cda1a2a7 Explicitly declare ___start as hidden. 2011-07-01 02:59:05 +00:00
joerg
017dd250ef Fix memset usage. 2011-07-01 02:46:24 +00:00
joerg
30dc9201bb Fix memcpy usage. 2011-07-01 02:46:15 +00:00
mrg
1c1ba33ca6 apply some -Wno-strict-overflow for GCC >= 4.5 2011-07-01 02:42:10 +00:00
mrg
5286814248 avoid an uninitialised variable warning that shouldn't normally happen
in practise but isn't entirely impossible for the future.
2011-07-01 02:34:50 +00:00
mrg
fc8dfe2ed3 fix an uninitialised variable problem. large-ish function, but i
couldn't see how GCC 4.5 isn't wrong about this one.
2011-07-01 02:33:23 +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
mrg
0debd27c81 avoid creating an unused directory. 2011-07-01 02:11:14 +00:00
joerg
fa1a81643b Fix memset usage. 2011-07-01 02:10:19 +00:00
mrg
e712e9f0f1 various updates for GCC 4.5. finally obsolete some very old gcc stuff. 2011-07-01 02:10:07 +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
a8847d182c - call each ${MKNATIVE_CONFIG_TARGET_LIBS} target separately
- comment out maybe-all-target-libgcc
- cope with the special transformation needed for gtyp-input.list
2011-07-01 01:27:17 +00:00
mrg
1566d50022 add GCC 4.5 support 2011-07-01 01:26:38 +00:00
mrg
b7e452c793 remove HAVE_GCC == 4 conditional 2011-07-01 01:26:15 +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
joerg
b341a73a57 Fix memset usage. 2011-07-01 01:19:33 +00:00
joerg
cfdb8ebbda Fix memset usage. XXX should use static allocate and proper sizeof() 2011-07-01 01:15:27 +00:00
joerg
c617617e5d Fix memcpy usage. 2011-07-01 01:08:59 +00:00
joerg
6aa8f81f53 Fix sizeof() usage in memcpy, curtesy of the new warning in clang. 2011-06-30 23:28:03 +00:00
dyoung
a256291c3f Don't cast a pointer void * before passing to memset(), that's not
necessary.  Use NULL instead of (type *)0.  This patch produces no
change in the generated assembly.
2011-06-30 22:38:50 +00:00
wiz
93a5a9bfe3 New sentence, new line. Use more markup. Bump date for previous. 2011-06-30 22:13:02 +00:00
matt
d8b68e8316 Adapt to new ___start definition.
Use PIC method to load %r13 with address of _SDA_BASE_
2011-06-30 20:10:17 +00:00
wiz
4cbd24b23f dependant -> dependent 2011-06-30 20:09:15 +00:00
matt
0d4e6aae2a Mark ___start as .hidden (for MKPIE=yes executables). 2011-06-30 20:07:35 +00:00
joerg
226567c8f9 Assert that ps_strings is valid. Use it to drop the first three
arguments to ___start to make the assembler callers simpler.
2011-06-30 19:48:43 +00:00
joerg
93fc0a3ef4 Drop special cases for i386 and m68k. It is not a validate assumption
that the address of an argument is at the same stack slot the caller
placed in it. It is perfectely valid to copy it into the local frame
first.
2011-06-30 19:46:07 +00:00