simonb
a785bcc908
Remove gprof from the "native only" list so that it can be cross-built.
2006-09-13 02:42:57 +00:00
matt
59b53ad312
More mips64 toolchain changes. With these changes, the mips64 toolchain
...
can build a mips64 kernel.
2006-08-26 20:01:29 +00:00
matt
9e051a8002
Add enough configury glue so that src/tools can build a N64 mips toolchain.
2006-08-25 23:35:04 +00:00
drochner
fbb15488c4
Call ldemul_finish() before lang_check_section_addresses(), as done
...
in binutils-current, rev.1.224.
ldemul_finish() might change section addresses/lengths, so this change
makes sure it is really the final output which is checked.
This fixes problems loading LKMs on alpha and amd64, reported by
Dave Huang per PR bin/33909. I could reproduce it myself on alpha.
2006-07-10 17:42:16 +00:00
mrg
2ad4576456
do not rebuild .info files in the netbsd tree.
2006-07-06 01:38:51 +00:00
skrll
7e7e19dfc2
Pull in fix from binutils-current that allows -shared and -static to be
...
used together again. This is something that ld.elf_so did/will use.
2006-06-29 19:27:41 +00:00
mrg
20e25ea492
consolidate the sh*netbsd* targets into sh*l* and sh*.
2006-06-26 22:33:42 +00:00
dogcow
444e690921
Remove various dotfiles that wandered their way in.
2006-06-18 08:59:39 +00:00
skrll
c0d9bc63a5
Check that a .rodata section description has been provided before putting
...
orphan sections in it.
Closes PR/33129.
2006-04-17 07:05:17 +00:00
skrll
a105f8f3c9
Pull in my readelf fix from binutils-current for the new EF_SH* flags.
...
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
2006-02-17 13:14:25 +00:00
skrll
fcf3319fe8
Pull in a change form binutils-current that removes the gap between text
...
and data on mips platforms which was dragged over from the Irix defaults.
OK'd by simonb@
2006-02-07 09:10:43 +00:00
martin
77e0dba33e
We want "traditional" abi on mips.
...
From Nick Hudson.
2006-02-04 12:08:22 +00:00
skrll
5bb4d25b69
Fix merge botch.
2006-02-03 09:24:20 +00:00
skrll
21db48e0fd
Pull across fix from binutils-current to allow netbsd sh5 to compile.
2006-02-02 22:43:14 +00:00
skrll
ad3568f537
Another conflict I didn't properly resolve.
2006-02-02 22:42:50 +00:00
skrll
7d0a5c3025
Where did that space come from?
2006-02-02 22:39:34 +00:00
skrll
97bb67a75f
Oops. Resolve conflict properly.
...
The standard binutils behaviour wrt to plt entries and relocs is handled
by our dynamic linker so let's do that. Solaris does it this way too.
2006-02-02 22:34:37 +00:00
skrll
42d4edf85a
Pull across the fix for gas/991.
...
All instructions are assembled correctly with this fix.
2006-02-02 22:19:18 +00:00
skrll
8d40ee0d82
Pull across the fix for ld/1021 and ld/1031.
...
This has been applied to the binutils_2_16 branch.
2006-02-02 22:14:43 +00:00
skrll
1a673ba65b
Resolve conflicts.
2006-02-02 22:03:55 +00:00
skrll
ce836c59d8
Resolve conflicts.
2006-02-02 22:03:53 +00:00
skrll
8d2c6a4e34
Import binutils 2.16.1.
2006-02-02 20:58:06 +00:00
skrll
27523fbf84
Import binutils 2.16.1.
2006-02-02 20:47:53 +00:00
skrll
a4d3423d48
Import binutils 2.16.1.
2006-02-02 20:37:52 +00:00
uwe
384a271baa
2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org>
...
Kaz Kojima <kkojima@rr.iij4u.or.jp>
* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
for R_SH_REL32 in shared objects if the symbol is locally called.
Makes hidden and protected symbols in shared objects work.
This will be committed to the binutils mainline.
2005-12-31 16:23:59 +00:00
christos
25a293877a
Don't be pedantic about requiring things to be ordinary files. Handle
...
character special devices specially so that eg. nm /dev/ksyms works.
2005-05-16 03:24:44 +00:00
christos
fab093cf4d
Apply patch from the RedHat CVS tree. Avoids issue with -O3 using the
...
wrong registers with some opcodes, the error is:
Error: Illegal operands: There are only 32 single precision f registers; [0-31]
And the code to cause this is:
return (cond) ? x : -x;
where x is double.
2005-04-24 23:53:18 +00:00
skrll
a57de08708
hppaelf_create_output_section_statements is valid for the NetBSD hppa
...
vector.
ld(1) no longer core dumps on valid shared libraries.
2005-01-19 12:49:30 +00:00
skrll
63d29cccef
Use the tradmips 64bit vectors/emulations.
2005-01-14 07:41:42 +00:00
skrll
0eb4567962
Don't set EMULATION_NAME here.
2005-01-14 07:40:34 +00:00
skrll
7b41d8016a
Backport a change from binutils-current
...
* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): When linking a
non-shared object, do not reserve space in .plt and .rela.plt for
regular symbols neither defined nor referenced in shared objects.
This fixes firefox for Havard
2005-01-13 07:55:31 +00:00
simonb
6ca886562d
Switch MIPS from using the "littlemips" and "bigmips" vectors to the
...
"tradlittlemips" and "tradbigmips" vectors.
The old vectors are meant for IRIX with it prelink shared library
support, and changes to better support this in binutils 2.15 broke
shared library support under NetBSD. The "trad" vectors are what 32bit
Linux and OpenBSD also use.
These vectors are also compatible with older NetBSD-built shared
libraries and programs so no flag day is necessary (Yay!).
These changes from Nick Hudson. Help also from Charles Hannum.
2005-01-09 12:58:00 +00:00
jmc
225a67ff79
Preface all the calls to move-if-change with $SHELL so it's not depending
...
on execute permissions on files from CVS
2004-12-18 17:49:22 +00:00
christos
924b906d65
Only compile 64 bit relocations if we can build a 64 bit target (BFD64)
...
not if the 64 bit type is defined (BFD_HOST_64_BIT) because the second
is always defined, even if it falls back to a 32 bit type. In our case,
this was not the problem; the problem was that we bfd_vma is a 32 bit
type when BFD64 is not defined, so the shift was out of range.
2004-12-11 08:42:55 +00:00
mrg
ce3315ff2f
redo the previous such that it works. amd64 seems to work again now.
2004-12-11 01:39:42 +00:00
skrll
7610607ebc
Fix merge botch so that we get the right TARGET_FORMAT.
2004-12-10 15:15:41 +00:00
skrll
83f6b834e6
Fix merge botch and make sure we pick up the right vectors for
...
hppa*-*-netbsd*
2004-12-10 08:04:28 +00:00
mrg
c47c675845
bfd/elflink.c
2004-12-08 14:57:53 +00:00
mrg
e7fdb20d02
avoid 32 bit shift on 32 bit type
2004-12-08 14:57:52 +00:00
mrg
6cd5325a7e
bfd/elflink.c
2004-12-08 14:57:52 +00:00
mrg
e4b0a4a67a
fix a compile-time warning.
2004-12-08 14:27:05 +00:00
mrg
67891deae5
merge binutils 2.15 cornflakes.
...
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:11 +00:00
mrg
adc74f2444
these files are created at build time
2004-12-08 13:38:10 +00:00
mrg
70ee3f68e3
merge binutils 2.15 cornflakes.
...
XXX: some info files are not yet totally fixed up..will fix.
2004-12-08 13:38:07 +00:00
mrg
e88da0ac40
initial import of binutils 2.15 branch (20041204)
2004-12-08 09:52:50 +00:00
mrg
0b0695816f
these files are created at build time
2004-12-08 09:47:04 +00:00
mrg
ddc1ca5b37
these files are created at build time
2004-12-08 09:08:53 +00:00
mrg
3fa5a086b0
these files are created at build time
2004-12-08 08:49:27 +00:00
peter
4037d03620
Apply revision 1.56 from binutils CVS:
...
Catch NULL bfd pointers passed to bfd_archive_filename.
Fixes a core dump in ld(8) when loading certain LKMs.
Approved by mrg.
2004-10-25 09:45:43 +00:00
sekiya
98c96dbb1e
Add big-endian elf64 to ld for MIPS targets.
...
Reviewed by simonb@
2004-09-03 10:30:09 +00:00