Commit Graph

2270 Commits

Author SHA1 Message Date
drochner 13669b2e41 cleanup:
-fix for OBJDIR
-link mpfr against gmp, and mpc against gmp+mpfr
-clean up generated files
2011-07-06 19:52:05 +00:00
mrg 55bcf9d074 cast to int as the fake relocs are not in enum elf_ppc_reloc_type, and
GCC 4.5 complains about values not in the enum as part of a switch block.
2011-07-06 09:01:35 +00:00
mrg a6aacda2c0 fix update build break on sh3. 2011-07-06 01:18:32 +00:00
joerg 49b9052057 Update LLVM/Clang snapshot to 134438 for configuration updates for
various platforms.
2011-07-05 23:02:31 +00:00
spz 85afcc6138 increase libdns minor version 2011-07-05 22:05:36 +00:00
spz e69d9c6eb6 merge import of bind-9.8.0-P4 2011-07-05 21:59:18 +00:00
spz 6654acd7c3 Import of bind 9.8.0-P4
Upstream changelog:

        --- 9.8.0-P4 released ---

3124.   [bug]           Use an rdataset attribute flag to indicate
                        negative-cache records rather than using rrtype 0;
                        this will prevent problems when that rrtype is
                        used in actual DNS packets.  [RT #24777]

        --- 9.8.0-P3 released (withdrawn) ---

3126.   [security]      Using DNAME record to generate replacements caused
                        RPZ to exit with a assertion failure. [RT #23766]

3125.   [security]      Using wildcard CNAME records as a replacement with
                        RPZ caused named to exit with a assertion failure.
                        [RT #24715]

3123.   [security]      Change #2912 exposed a latent flaw in
                        dns_rdataset_totext() that could cause named to
                        crash with an assertion failure. [RT #24777]

3115.   [bug]           Named could fail to return requested data when
                        following a CNAME that points into the same zone.
                        [RT #2445]
2011-07-05 21:22:43 +00:00
joerg 288bb96063 Hook up LLVM's MIPS target. 2011-07-05 19:37:10 +00:00
joerg 1b9578b8c2 Hook up LLVM's ARM target. 2011-07-05 17:22:20 +00:00
joerg c8a6f85bd1 Use a different switch to explicitly disable developer-only libraries
for the toolchain build.
2011-07-05 17:15:51 +00:00
joerg 0ffe711036 Doesn't need the X86 disassembler. 2011-07-05 17:06:10 +00:00
joerg b49cc14919 Hook up LLVM's SPARC target. 2011-07-05 14:15:56 +00:00
mrg 4369a0fb72 fix the ordering of gmp, mpfr and mpc libraries. add to DPLIB. 2011-07-05 08:36:17 +00:00
mrg 4c9a9726fc oops, put back _arm_fixunssfsi into arm libgcc. 2011-07-04 22:44:55 +00:00
joerg 8597eac543 Hook up LLVM's PowerPC. 2011-07-04 22:37:58 +00:00
joerg 9980449ca3 Update LLVM/Clang to r134393 for NetBSD/PowerPC changes. 2011-07-04 22:20:45 +00:00
joerg b0f1ff448a Update LLVM/Clang to r134374. This brings the xstorerng alias for Via
PadLock, a bugfix for the C++ ABI in one edge condition and various
compiler improvements.
2011-07-04 16:10:38 +00:00
mrg 5fb2e37596 don't use libgcc softfloat stuff now that it is in our libc. regenerate. 2011-07-04 12:54:24 +00:00
mrg b0c66baaac support LIBMPFR_MACHINE_ARCH, for compat.
expand the list of platforms here significantly.

XXX: someone who knows FP well across our platforms should have a look
XXX: at this list and fix any errors / omissions i've made.
2011-07-04 12:38:29 +00:00
joerg b94ac99b05 Fix const usage to be consistent with the other files. ml_shell and
ml_examine are constant pointers, not pointers to constant data.
2011-07-04 12:31:53 +00:00
mrg 900aee4765 regenerate 2011-07-04 12:01:56 +00:00
mrg 77c9e6a6cb don't force LIBGMP_MACHINE_ARCH:=${MLIBDIR}. 2011-07-04 12:00:15 +00:00
tron 41350e18b8 Unexpand "$NetBSD$" in code for adding RCS Ids. 2011-07-03 23:25:01 +00:00
tron 9ff59f5fba Add missing interpreter and RCS Id. 2011-07-03 23:22:37 +00:00
tron 6a29342765 Build the new version of "less". 2011-07-03 21:58:33 +00:00
tron 824a88bbba Apply NetBSD specific patches, mostly related to behaviour of
less(1) as more(1).
2011-07-03 20:14:12 +00:00
tron e71baf6887 Fix RCS Ids. 2011-07-03 19:51:26 +00:00
tron 4dc3990e56 Fix generation of RCS Ids. 2011-07-03 19:42:09 +00:00
tron 3d9626b96b Create (symbolic) links for more(1) and page(1). 2011-07-03 18:15:18 +00:00
tron 9b5d0753b4 Add makefiles to build the new version of "less". 2011-07-03 18:02:00 +00:00
tron 20006a0bde Import version 444 of "less":
The list of changes between our ancient version 394 and 444 is too long
to list here. You can find all the release notes here:

http://www.greenwoodsoftware.com/less/old.html
2011-07-03 18:00:59 +00:00
tron 68becace4b Add handling for manual pages:
1.) Remove the formatted ones before import.
2.) Rename the unformatted ones from "*.nro" to "*.1" to keep our
    makefile framework happy.
2011-07-03 17:56:26 +00:00
tron 07ba10b37c Add a (new) script from preparing "less" for import into NetBSD. 2011-07-03 16:57:13 +00:00
mrg 4384878e5a regenerate the m68* descriptions. 2011-07-03 16:14:36 +00:00
mrg 1f114dece4 netbsd needs __floatundisf; make it so. (should we have this elsewhere?) 2011-07-03 15:34:08 +00:00
mrg 5338c4af8c clean up another generator. 2011-07-03 15:25:11 +00:00
mrg 6976072ef9 add missed generated file. 2011-07-03 14:42:13 +00:00
mrg 748830d10d various (re-)generations. most of these sort of entirely work now. 2011-07-03 14:41:46 +00:00
mrg 676741fbe4 avoid passing -I$DESTDIR/usr/include to the $HOST_CC. 2011-07-03 14:09:57 +00:00
mrg 0520daf5cd new files to build mips64 gmp 2011-07-03 13:43:23 +00:00
mrg 786cadb243 undef DRIVER_SELF_SPECS before defining it.
also, insert BASE_DRIVER_SELF_SPECS into DRIVER_SELF_SPECS.
2011-07-03 13:06:36 +00:00
mrg 27ba937d04 for mips, MASK_SOFT_FLOAT has become MASK_SOFT_FLOAT_ABI. 2011-07-03 13:05:19 +00:00
mrg 495b4def2c regenerate these with mknative-gcc 1.61. 2011-07-03 12:45:02 +00:00
mrg 7761b1c39b gmp native files for mipsel/mipseb. 2011-07-03 11:41:30 +00:00
mrg eba91e60d8 mknative-files for mipsel and mipseb. 2011-07-03 11:39:48 +00:00
mrg f447de3ff7 don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a 2011-07-03 09:10:42 +00:00
mrg fa4ad84b0d set default_m68k_cpu for our m68* ports. 2011-07-03 09:08:55 +00:00
mrg e6f6d121ef regenerate. 2011-07-03 08:45:42 +00:00
mrg 48a80cfd3e regenerate 2011-07-03 08:44:40 +00:00
mrg 56e4edf0f6 - Makefile.hacks isn't working here; revert this portion for now.
- support ${COPTS.${.IMPSRC:T}} in the .c.pico rule
- add a hack for m68k and _fixunsxfdi, uses above
- add support to build LIB2ADD_ST stuff
2011-07-03 08:35:41 +00:00
mrg 70931e1e5a re-generate (add mpn_udiv_w_sdiv prototype.) 2011-07-03 07:26:21 +00:00
mrg 3b8e37627c add sysroot-suffix.h to the fake headers. 2011-07-03 07:23:19 +00:00
mrg 3f45d2627b (re-)generate mknative-gcc files for many platforms.
(re-)generate the gmp files for many platforms.
2011-07-03 06:52:14 +00:00
mrg 5ee4b0f8d3 clean up the created .s files. 2011-07-03 06:43:16 +00:00
mrg e313b44d7e gengtype also needs sysroot-suffix.h if present 2011-07-03 06:42:03 +00:00
mrg a72c0d12dc copy across (most) of the LIB1ASMFUNCS from t-arm-elf. 2011-07-03 06:40:38 +00:00
mrg 6ca11e60d8 - for m680[012]0, set cpu_type=m68k
- add fragment for m68010--netbsdelf
- s/*-*-netbsd/*-*-netbsd*/ so that netbsdelf matches
2011-07-03 06:39:22 +00:00
matt 81158698ed Switch to using the secure-plt method of accessing the global offset table. 2011-07-03 03:30:19 +00:00
mrg 62f0adc4ab mknative-gcc output for vax and m68k. 2011-07-02 14:28:14 +00:00
mrg d71012a93f mknative-gcc output for vax and m68k. 2011-07-02 14:13:50 +00:00
mrg 31ec5d717b make this build on vax.
XXX:  need to check this for platforms besides x86 and sparc64 to see
XXX:  if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined.
2011-07-02 14:08:45 +00:00
mrg 64ee02ff8f add driver-rs6000.c and the remaining powerpc mknative-gcc files. the
ppc native gcc now links but doesn't run yet properly.
2011-07-02 14:06:42 +00:00
mrg f1d1b82795 provide one of the ugly proto-prototypes for mpn_udiv_w_sdiv(). 2011-07-02 14:05:03 +00:00
mrg d4418888f0 remove a stale XXX comment. 2011-07-02 14:04:30 +00:00
mrg 23303f4ab4 make this mostly appear to work by using the C versions for now. 2011-07-02 14:04:14 +00:00
mrg 73c2c27d52 also match .s and .S files for asm sources. 2011-07-02 14:03:20 +00:00
mrg 59dd8db7b7 gmp files for m68k. seems to build ok, at least enough to run mknative-gcc. 2011-07-02 13:43:05 +00:00
mrg 5eb47bd6a8 initial versions of these for vax. not 100% working yet. 2011-07-02 13:36:57 +00:00
mrg 0ed964cf37 split two sub-make targets into two separate make calls.
avoids an annoying -jN install problem.  idea from dh.  thanks!
2011-07-02 13:26:39 +00:00
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