Commit Graph

228 Commits

Author SHA1 Message Date
matt 72dd554728 Regen (since mknative blew away _SOFT_FLOAT changes). 2011-08-17 18:33:03 +00:00
mrg ea90e3d981 also copy -m and -f flags from the GCC headers.
fixes PR#45253.  (i'm going to leave that bug open for now because i
want to re-work a bunch of the libgcc framework.)
2011-08-15 18:31:20 +00:00
mrg 12dc132b81 clean out some unused code. 2011-08-15 09:19:21 +00:00
joerg 78384c1939 Can't build libstdc++ and libsupc++ with clang since it depends on using
volatiles as initializers of non-volatile fields, void * arithmetic and
some new attributes for the unwinding.
2011-08-09 13:00:04 +00:00
joerg d80abf5701 Disable -Wunused-value for clang, it triggers on the bcopy replacement. 2011-08-09 12:58:55 +00:00
joerg 402f76be16 Since cproj and friends are used, link explicitly against libm. 2011-08-09 12:56:41 +00:00
mrg 46d22e869d re-run mknative for hppa. 2011-08-07 12:20:10 +00:00
mrg c58b16c3fc after all the recent fixes, let's call this "NetBSD nb2 20110806" 2011-08-07 11:41:50 +00:00
mrg c37220dd3d whoops, properly copy the old libgcc spec. fixes libGLU on sh3. 2011-08-07 00:07:15 +00:00
matt acb3cf946c Missing a diff for the loongson2 fixes 2011-08-03 17:54:52 +00:00
matt c8f6ff28bb Pull in change to support -m[no-]fix-loongson2f-{nop,jump} 2011-08-02 16:11:16 +00:00
matt 9117b7b37b Don't define LINK_EH_SPEC if it's already defined. 2011-08-02 00:45:36 +00:00
matt 4564466a06 Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h) 2011-07-31 03:43:33 +00:00
martin 62d7638bb2 We use the "iterate phdrs method for exception unwinding now, so
make sure to pass --eh-frame-hdr to get the GNU_EH_FRAME header
generated.
2011-07-23 15:22:26 +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 7eaea50bea regenerate. 2011-07-21 03:10:24 +00:00
mrg 9196b27585 add some missing dependancies. there are probably a bunch more make
hasn't spat at me yet.
2011-07-21 03:01:26 +00:00
mrg 9a4bfc2852 re-generate various files after dl_iterate_phdr has been enabled. 2011-07-20 00:53:53 +00:00
tron b6fc69b436 Fix remaining SSP build issues if GCC 4.5 is used. 2011-07-19 15:59:01 +00:00
mrg 2a978aa626 merge the common CPPFLAGS and HOST_CPPFLAGS. put -DGENERATOR_FILE
into HOST_CPPFLAGS, and remove the hacky list of files to build
with it.  this matches what the real GCC build does, and fixes build
problems seen on OSX.
2011-07-19 01:37:59 +00:00
drochner 63087a7ddd let gcc-4.5 use dl_iterate_phdr (which has been present for a while)
for exception handling rather than register_frame_info -- this is
what other OSes are doing, and what is supposedly more efficient.
committed generated files for i386 only
2011-07-18 21:48:03 +00:00
matt 75e98e4690 Default to 128-bit long double. Next question is ieee or ibm long double. 2011-07-12 23:23:17 +00:00
matt b82b5c51b9 Bring in gcc 4.5 changes. powerpc64 can at least build a compiler now. 2011-07-12 08:47:24 +00:00
mrg bae714a51c regenerate, now sun2 libgcc links with applications fine. 2011-07-11 08:25:09 +00:00
mrg 3e3f99ad94 make this look more like the (working) gcc 4.1 configuration, and make
this actually work on netbsd/sun2.
2011-07-11 08:23:48 +00:00
mrg 4292af252e XXX: add a prototype for __cmpdf2() so this compiles with -Werror. 2011-07-11 08:23:16 +00:00
mrg 67e341bb50 use m68k/t-floatlib on netbsd m68* platforms. 2011-07-11 08:22:49 +00:00
mrg fd2a48532a force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs seem
busted with our binutils.  now sparc64 seems to work fine.
2011-07-10 15:28:26 +00:00
mrg ef65ebf1e0 add a hack for emips libgcc (32 bit mips with softfloat.) 2011-07-10 02:39:57 +00:00
mrg 44399259a7 regenerate to remove MASK_64BIT. 2011-07-09 14:59:16 +00:00
mrg abfdaed3ef take MASK_64BIT out of the default target flags.
how this did not break all sorts of stuff i don't know!
2011-07-09 14:58:34 +00:00
matt c367154631 Get rid of the hack that limited long double to 64 bits. We support 128 bit
long doubles now.
2011-07-07 17:27:46 +00:00
mrg 9692f6d4a2 - un-obsolete a pair of files we want to remain installed (XXX i wonder
if a way to have "clean builds" not run "postinstall fix obsolete" in
  the $DESTDIR so that these sorts of errors will appear as set list
  errors instead of being skipped
- fix the list of headers to install for GCC 4.5, based upon the mknative
  ${G_EXTRA_HEADERS}.  XXX move the location of G_EXTRA_HEADERS.
2011-07-07 08:46:20 +00:00
mrg fc24f81836 apply a couple of (int) before r_type switch usage. 2011-07-07 07:47:11 +00:00
mrg 7335abb57a add missed mknative-gcc hppa file 2011-07-07 05:58:10 +00:00
mrg 3eb93c2d5b alpha and hppa mknative-gcc files. 2011-07-07 02:07:31 +00:00
mrg 1307b14960 add ${G_LIB2ADD:H:O:u} to the .PATH to find all headers 2011-07-07 01:27:47 +00:00
mrg 3884174ae9 add hppa-netbsd support. 2011-07-07 01:27:30 +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
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
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 900aee4765 regenerate 2011-07-04 12:01:56 +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 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 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