Commit Graph

370 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
8351e86be9 clean up and add some missing dependancies 2011-07-01 01:29:12 +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
mrg
5c7719af90 GCC 4.5 x86 installs a bunch more platform header files 2011-06-29 08:37:10 +00:00
mrg
8df532f539 powerpc*-netbsd* wants svr4.h these days. 2011-06-29 08:08:54 +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
0f414831b1 pull across these new files from old gcc. from chuq. 2011-06-29 04:59:10 +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
mrg
c25a6ba022 add G_BUGURL and G_PKGVERSION variables that are unquoted versions. 2011-06-29 02:15:13 +00:00
mrg
0976220d72 update the gcc-vers.texi generation and fix various build issues. 2011-06-29 02:14:28 +00:00
mrg
bf3f398f4e fix a merge error with LIBGCC_PIC_SUFFIX code. 2011-06-29 02:12:29 +00:00
mrg
f7fea21d51 re-enable the gcc 4.5 crtstuff/libgcc builders now that they work.
also build the gmp, mpfr and mpc libraries in this case.
2011-06-29 02:05:24 +00:00
mrg
d15283f250 minor fixes for libstdc++-v3 build.
fix the gengtype call.
2011-06-29 02:01:37 +00:00
mrg
b26ad80212 these need -lintl now. 2011-06-29 02:00:09 +00:00
mrg
30b4ed22df - build libdecnumber
- don't build protoize/unprotoize
- use libdecnumber and VER_CPPFLAGS
2011-06-29 01:57:59 +00:00
mrg
a98337dbce consolidate the tconfig.h generation. 2011-06-29 01:56:57 +00:00
mrg
3a7677d284 delete file in the wrong directory. 2011-06-28 10:17:17 +00:00
mrg
c234a85172 port this to GCC 4.5. 2011-06-28 10:15:40 +00:00
mrg
a7165021a8 build libdecnumber. 2011-06-28 10:15:15 +00:00
mrg
278a646828 port this to GCC 4.5. 2011-06-28 10:14:41 +00:00
mrg
1ce3c1cc4c some of the way towards working. there's a couple of hacks in there that
need to be cleaned up before this is properly finished.
2011-06-28 10:11:04 +00:00
mrg
498a5a5a14 init.o wants a localedir.h to define LOCALEDIR now. make it so. 2011-06-28 09:31:55 +00:00
mrg
b5a3cd5336 this needs -lintl now. 2011-06-28 09:31:11 +00:00
mrg
d79932b240 - add LIBDECNUMBEROBJ.
- update the VER_CPPFLAGS for GCC 4.5.
2011-06-28 09:28:22 +00:00
mrg
91c00ee734 TOOLDIR_BASE_PREFIX must be a relative path now. 2011-06-28 09:27:39 +00:00
mrg
baba04193b fix a merge error only seen with NETBSD_NATIVE defined. 2011-06-28 07:52:40 +00:00
mrg
340b2629aa output of mknative-gcc updates for GCC 4.5. 2011-06-28 04:24:12 +00:00
mrg
7153279ecd build the gcc libraries. 2011-06-28 04:23:56 +00:00
mrg
3c1598d843 begin to fix this for GCC 4.5. gengtype-yacc is gone, and -parse is its
replacement.  build the list of files from $G_GTFILES like GCC build dones.
2011-06-28 04:23:01 +00:00
mrg
b66c3ccf81 DEVPHASE of an actual gcc release is empty. do that. 2011-06-28 04:22:17 +00:00
mrg
4b23c5af8a - libmath is gone.
- add a bunch of file-specific CPP and compiler directives necessary.
  with a sucessful mknative-gcc run, this appears to run.  haven't yet
  confirmed that the resultant library is usable.
2011-06-28 04:08:57 +00:00
mrg
cfddc529b5 adjustments for GCC 4.5 src include path changes. 2011-06-28 04:07:36 +00:00
mrg
188cbb4343 add the path to has_set file. 2011-06-28 04:07:04 +00:00
mrg
6a253ff1f1 add _floatundixf to the normal list. fix the G_EXTRA_HEADERS. from chuq. 2011-06-28 04:03:56 +00:00
mrg
c415c98518 libstdc++-v3/libmath subdir is gone. 2011-06-28 04:03:16 +00:00
mrg
9332c044e4 run mknative-gcc for amd64 and GCC 4.5.
this is only enough to build crtstuff, libgcc* and libobjc.
2011-06-24 05:31:36 +00:00
mrg
9ae752839c update this for GCC 4.5's libiberty. 2011-06-24 05:28:48 +00:00
mrg
4f89948c93 - fix the path for GCCARCH and GCCARCH
- force DEVPHASE to "release"
-
2011-06-24 05:27:57 +00:00
mrg
0c1f7b8a8f look in the right path for auto-host.h 2011-06-24 05:26:06 +00:00
mrg
04291615b1 look in the right path for defs.mk. 2011-06-24 05:25:24 +00:00
mrg
2dfe08e57e fix some more paths for GCC 4.5. 2011-06-23 12:16:36 +00:00
mrg
51c8ec53ea make this work with mknative-gcc:
- libgcc.mvars only depends upon config.status/Makefile, not any built thing
- copy the unwind.h creation rule into a separate target, just for mknative-gcc
2011-06-23 12:11:24 +00:00
mrg
8049a32395 fix a bunch of paths to look in the right places for gcc 4.5. 2011-06-23 11:47:12 +00:00
mrg
840a879e5b port this change from our gcc 4.1 tree. not entirely sure it's correct
yet, but not yet able to test ...

revision 1.5
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +2 -2
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.
2011-06-22 05:15:15 +00:00
mrg
65a1c6301f avoid installing limits.h and friends. 2011-06-22 05:14:26 +00:00
mrg
f90498bd01 pull across these revisions from gcc 4.1:
configure:
revision 1.12
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.

configure.ac:
revision 1.11
date: 2011/03/10 15:14:49;  author: skrll;  state: Exp;  lines: +1 -1
Look for TLS on hppa on netbsd.
2011-06-21 07:39:18 +00:00
mrg
1c4baf8439 pull across these revisions from gcc 4.1:
revision 1.8
date: 2011/06/11 00:57:29;  author: matt;  state: Exp;  lines: +2 -0
If we are compiling -msoft-float, define _SOFT_FLOAT

revision 1.7
date: 2011/03/12 07:57:38;  author: matt;  state: Exp;  lines: +3 -1
Define HAVE_AS_TLS until our build tools figure out how to do it.

revision 1.6
date: 2011/02/25 22:36:10;  author: matt;  state: Exp;  lines: +7 -0
Explicitly make sure TARGET_SECURE_PLT is defined correctly rather than
relying on HAVE_AS_REL16 from "auto-host.h".

revision 1.5
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:31:13 +00:00
mrg
1c860480c9 pull across these revisions from gcc 4.1:
revision 1.21
date: 2011/01/23 06:29:52;  author: matt;  state: Exp;  lines: +1 -1
Default mips64 to softfloat.

revision 1.22
date: 2011/02/10 07:18:29;  author: matt;  state: Exp;  lines: +3 -0
Default NetBSD to -msecure-plt now.
2011-06-21 07:28:44 +00:00
mrg
76a21f6aa5 pull across these revisions from gcc 4.1:
revision 1.9
date: 2011/04/15 13:42:22;  author: joerg;  state: Exp;  lines: +2 -1
Move the headers for compiler and platform specific intrinsincs from
/usr/include to /usr/include/gcc-4.1.

revision 1.8
date: 2011/04/10 21:25:56;  author: joerg;  state: Exp;  lines: +1 -0
Add back a stylish new line.

revision 1.7
date: 2011/04/10 16:50:18;  author: joerg;  state: Exp;  lines: +20 -12
Reduce difference between src/tools/gcc and src/gnu/usr.bin/gcc4
configuration. All but the target to helper programs should be the same.
Mark include directories as sysroot-relative.


adjust the paths to gcc-4.5, and add an XXX note about this ugliness.
2011-06-21 06:54:27 +00:00
mrg
aaaade9e8e pull across from gcc 4.1:
revision 1.2
date: 2011/02/05 00:37:40;  author: joerg;  state: Exp;  lines: +2 -2
Explicitly use template to allow building with the more strict
template lookup in clang. From FreeBSD.
2011-06-21 06:22:06 +00:00
mrg
1e4c47b919 pull across from gcc 4.1:
revision 1.2
date: 2011/05/25 15:51:55;  author: joerg;  state: Exp;  lines: +2 -2
Don't define explicit instantiation as inline.
2011-06-21 06:18:56 +00:00
mrg
3b87de1dcf move the gcc 4.5 usr.bin build makefiles to the right place. 2011-06-21 06:03:13 +00:00
mrg
f0c80e6ced *sigh* move these files into the directories i meant for them to exist in.
start actually porting to gcc 4.5 in the process.
2011-06-21 06:02:25 +00:00
mrg
c6121f4c92 remove stuff from the wrong directory. oops. 2011-06-21 05:34:50 +00:00
mrg
6c3d0727c9 front end to build gcc 4.5 components 2011-06-21 04:53:33 +00:00
mrg
8dbf0d5bb3 prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45 2011-06-21 04:52:49 +00:00
mrg
d0fea80e35 add a NetBSD_DISABLED rule for cfns.h. 2011-06-21 04:14:34 +00:00
mrg
2a3bc70d3b import the non-arch specific makefiles we use to build GCC 4.1
as a base reference.
2011-06-21 02:48:27 +00:00
mrg
2f4e9d03df merge forward our changes into the GCC 4.5.3 tree. mostly from chuq. 2011-06-21 02:41:35 +00:00
mrg
4fee23f98c initial import of GCC 4.5.3 sources. changes since 4.1 are way too numerous
to review, please see http://gcc.gnu.org/gcc-4.5/changes.html (and the 4.2,
4.3 and 4.4 versions, too.)

this includes the core, c++, objc and the non java/ada/fortran parts of the
testsuite.
2011-06-21 01:19:41 +00:00
joerg
28050549eb Ignore warnings when building with clang for now. 2011-05-30 14:41:26 +00:00
joerg
4e20b7f563 Provide correct builtin search path for amd64's -m32 mode. 2011-05-14 22:27:58 +00:00
mrg
905b08a092 regenerate for mipsy mips 2011-04-15 21:25:05 +00:00
matt
d8543ba5b8 Add bfd_mach_mips_xlr (this is easier than running mknative-binutils and
achieves the same result but it is a hack).
2011-04-15 17:57:39 +00:00
pgoyette
3f289807f4 Define bfd_mach_mips_xlr here to fix the build! 2011-04-14 22:19:58 +00:00
matt
1b9f0bef5f Remove old mfcr/mtcr definitions 2011-04-14 08:05:00 +00:00
matt
1483d2e256 Add bfd_mach_mips_xlr 2011-04-14 08:04:20 +00:00
matt
91f4e65a42 Pull in MIPS XLR (XLS) support from patch in
http://sourceware.org/ml/binutils/2009-01/msg00383.html
This replaces local changes to support some xlr instructions.
2011-04-14 07:49:48 +00:00
joerg
bdc03d8058 Fix typo to embed the right path for N64 2011-04-05 10:48:47 +00:00
matt
c82db00b04 Add NetLogic Fast Messaging instructions 2011-02-14 18:23:35 +00:00
wiz
3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
matt
48d3f85c1c Use ELF_ST_VISIBILITY (S_GET_OTHER( )) instead of a local S_IS_HIDDEN as
suggested by binutils.
2010-12-09 06:22:03 +00:00
matt
4d0f1c412f Add a private now S_IS_HIDDEN(symbol) so gas deal with hidden symbols
correctly.
2010-12-06 21:17:00 +00:00
wiz
9e7cfea51a Sort options. 2010-11-07 11:50:23 +00:00
uebayasi
4cca618331 Handle md(4)'s embedded root disk image and size symbol names other
than the default ones ("md_root_image" / "md_root_size").

(References to xmd(4) are deliberately removed.)
2010-11-06 16:03:23 +00:00
joerg
a6fcc8233b Add the __eprol hidden symbol. Forgotten part of the common CSU handling
commit as found by Nicolas Joly.
2010-09-29 14:54:00 +00:00
martin
5a6d00fa0a From Matt Thomas, suggested upstream:
* atof-generic.c (atof_generic): recognize snan and qnan in
	addition to nan and inf.
	* atof-vax.c (flonum_gen2vax): deal properly with nan, snan, qnan,
	and +Inf and -Inf codes.

This fixes PR toolchain/43303.
2010-05-16 11:20:01 +00:00
christos
9021b5c725 revert previous. it does not work properly. 2010-04-21 17:10:31 +00:00
christos
22c1c07780 XXX: This is a hack, the note inclusion does not belong here, and
it belongs in a separate elf_nbsd.sh, included from elf_i386_nbsd.sh.
The problem is described in:
https://bugzilla.redhat.com/show_bug.cgi?id=492183#c7, namely if
all the sections are not defined in the ld script, it can screw
up.  This happens when building /usr/src/usr.sbin.crash with
MKPIE=yes. Thanks to Piotr Meyer for the report and analysis.
We don't need to fix any other archs yet (because crash only works on i386),
but we should. skrll should look into it, please :-)
2010-04-20 22:47:48 +00:00
reed
a9374b6b87 Add the "Statement for The NetBSD Foundation's Position on the GPLv3". 2010-04-01 14:13:25 +00:00
mrg
19499f3f8d update all of these makefiles for the .so -> .pico change.
most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
joerg
7780622b8d Use HUGE_VAL on VAX as INFINITY requires a warning according to ISO C99
on VAX. Use the less intrusive approach of a conditional here.
2010-03-01 00:15:47 +00:00
drochner
7abc5be2ce adjust INTERP path for NetBSD (needed eg for -static -pie) 2010-02-23 20:42:40 +00:00
matt
dfcdd41b29 Add a _is_local_label_name routine (taken from elf64-mips.c). 2010-01-29 06:09:36 +00:00
matt
07b94adbab Use bfd_ntrad{little,big}_vec and drop all non-trad vectors since they
make target matching ambiguous.
2010-01-29 06:08:01 +00:00
matt
335a046fbd Remove merge workaround - not needed. 2010-01-29 06:05:53 +00:00
matt
fade670606 Remove redundant mips*-*-netbsd* clause 2010-01-29 06:05:32 +00:00
matt
e34524fa00 Don't allow a symbol + offset in a merge section to translated to a
.section + offset reference if offset is negative.
2010-01-01 06:12:55 +00:00
mbalmer
43a53fa2dc Fix typo in a comment, no code change. 2009-12-23 09:22:16 +00:00
skrll
b1d73e2147 Re-run mknative for binutils. 2009-12-14 15:49:18 +00:00
mrg
f8913fe32e default netbsd*mips64 to n32. from matt-nb5-mips64. 2009-12-14 02:52:08 +00:00
mrg
42c67cd175 add all the binutils auto-generated files from matt-nb5-mips64 branch.
these are probably wrong and need to re-generated with mknative-binutils,
but get the build sort of limping along a bit better until then.
2009-12-14 02:36:31 +00:00
mrg
f5f2e65887 - set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly
2009-12-13 09:38:22 +00:00
skrll
79b3e7eed6 Recognize $L as a local symbol for mips64. 2009-12-07 10:00:21 +00:00
skrll
b6dacdb22f Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.
2009-11-27 14:39:39 +00:00
skrll
af515df4eb Pull in fixes from binutils_2_19 branch.
Bump version and re-run mknative to pick up.
2009-11-20 22:51:29 +00:00
snj
643cb11825 Pull in fixes from upstream revision 1.146 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 22:17:03 +00:00
snj
85be2afacd Pull in fixes from upstream revision 1.406 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 21:57:49 +00:00
snj
f30f819e9c Fix unbalanced parentheses to make this build again. 2009-11-15 21:19:35 +00:00
snj
59c2b39361 Pull in fixes from upstream revision 1.108 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:56:40 +00:00
snj
811af9adc7 Pull in fixes from upstream revision 1.362 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 20:10:11 +00:00
snj
7eeffe7acc Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.
2009-11-15 19:51:49 +00:00
skrll
0745739155 Pull across most of the changes from matt-nb5-mips64.
Only remaining change is bfd/elf.c:_bfd_elf_is_local_label_name which
should probably be done via mips_elf_is_local_label_name.
2009-11-15 10:25:16 +00:00
skrll
25edd46c0c Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.
2009-11-10 14:47:52 +00:00
skrll
6b62f81249 Add branding to native tools. Update make dependencies to pick up
changes.
2009-11-10 10:24:50 +00:00
skrll
c213b097cc Re-run mknative to pick up PKGVERSION and REPORT_BUGS_TEXI 2009-11-10 10:18:05 +00:00
skrll
80ea658d23 Copy the change made by christos to elf32-i386.c to other targets where
it's easy:

Add a warning that prints the symbol that has the text reloc.
2009-11-06 10:59:17 +00:00
joerg
56439201f7 Don't depend on /usr/lib/libz.a for host tools. 2009-11-01 00:12:00 +00:00
christos
2853bbf4b7 use %option instead of #define YY_NO_... 2009-10-29 14:49:02 +00:00
christos
edacf9c729 no need for YY_NO here. 2009-10-29 14:44:09 +00:00
christos
534bddcdfb add -lz for the static platforms. 2009-10-19 02:31:26 +00:00
thorpej
b93b3929c3 Regenerate for:
Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:19 +00:00
thorpej
1e0ab6fbf0 Compute the size of off_t and bypass the checks for fopen64() and stat64()
if off_t is 64-bit.  Otherwise, we get fatal (due to -Werror) warnings on
Mac OS X 10.6 because stat64() is deprecated on that host.
2009-10-15 20:35:01 +00:00
skrll
321d0b6e12 Re-run mknative for branding update. 2009-10-12 12:47:09 +00:00
skrll
c6a66fb3a3 Re-run mknative to pick NetBSD branding. 2009-10-11 18:18:20 +00:00
skrll
f343fec730 Remove old mis-merge. 2009-09-27 18:52:56 +00:00
blymn
7dfbfaa8ed Make the tool chain build with MKOBJDIRS set to yes - fix by skrll. 2009-09-27 12:58:59 +00:00
skrll
7c94c6769f Fix mis-merge. 2009-09-27 08:04:14 +00:00