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
skrll
82e8e5ae69
Remove some commented/redundant stuff.
2009-09-26 13:58:31 +00:00
skrll
2830fc6c0f
Add bfdver.texi to CLEANFILES.
2009-09-26 11:51:34 +00:00
skrll
6487fab745
Blat the right file.
2009-09-26 11:45:41 +00:00
skrll
e17ad351c2
Resolve mis-merge.
2009-09-26 10:44:21 +00:00
uwe
4c7a000c60
Fix index entries that are intended to index ".set singlefloat" and
...
".set doublefloat", but were not edited after copy-paste.
I noticed this because compared to prebuilt as.info 1) on NetBSD index
entries are collated differently; 2) for some duplicate index entries
there are no additional "foo <n>" entries in the final output and (b/c
of #1 I guess) we pick a different one.
For the record, the other duplicate entry is in c-tic54x.texi where
both struct and union directive descriptions have:
@cindex @code{tag} directive, TIC54X
Prebuilt file only lists the first occurence in the generated index
and we list only the second.
The MIPS false duplicate is easy to fix, but I'm too lazy to debug
makefino to figure out why the second, real duplicate is lost.
2009-09-23 19:53:30 +00:00
skrll
cfe9d8b4dc
Use the right variable to get VERSION from the defs.mk file.
...
Add a .WAIT to hopefully fix the problem reported by Patrick Welche on
current-users.
2009-09-23 19:41:24 +00:00
mrg
90e6d8c1fe
replace a LDADD/DPADD with LIBDPLIBS
2009-09-11 22:36:12 +00:00
tron
59c9daa5b3
Avoid using alloca(3) to unbreak SSP builds.
2009-09-11 10:41:42 +00:00
skrll
8a770313a3
Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
...
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.
Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.
Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00