Commit Graph

202567 Commits

Author SHA1 Message Date
christos cdf62a44d3 - use defines for lengths
- strlcpy/snprintf
- KNK
2011-07-01 15:09:28 +00:00
hannken 661fcc7b37 ffs_copyonwrite(): If the write is to the in-file-system journal
there is no need to lock and check the snapshots.
2011-07-01 14:28:21 +00:00
rkujawa d6a5da4c75 Add Bluetooth stack to Amiga. Tested with 3Com 3CRWB6096B on an A1200. Change approved by phx. 2011-07-01 13:30:18 +00:00
njoly e125cce8c5 Small typo (g++debug -> g++.debug). 2011-07-01 12:09:34 +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 7c2e122f42 apply some (uintptr_t) between pointer and int casting. 2011-07-01 08:38:10 +00:00
mrg 7e433992a7 use the right variables for the fp and pc, and avoid array bounds
violations.
2011-07-01 08:37:28 +00:00
matt 0a6157e048 Fix uninitialized data warning found by gcc 4.5 2011-07-01 07:45:39 +00:00
matt 0ea8aedfae Fix some array bounds errors found by gcc 4.5 2011-07-01 07:44:33 +00:00
matt 998bcd53a6 xxx_SUB macros should use a variant of subu, not add 2011-07-01 06:00:20 +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
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