Commit Graph

60 Commits

Author SHA1 Message Date
itojun
5cfce202f7 wrong arg to memset. OpenBSD PR 2822 2002-07-16 23:08:04 +00:00
wiz
6f56aa4c96 Only comments after #endif. 2002-05-16 19:25:06 +00:00
matt
fb64329c36 Add a missing == 0 to a strcmp of "vec" 2002-04-19 02:20:21 +00:00
thorpej
8257c98a16 Back out the EI_OSABI==ELFOSABI_NETBSD changes for arm-netbsdelf. 2002-04-11 21:35:49 +00:00
itohy
be6e32fe84 make gas work for a.out/i386 2002-04-10 15:02:04 +00:00
msaitoh
93943fd466 sync with gnu/dist/gas/config/tc-sh.c rev. 1.4
> dd "-big" option for little endian
2002-04-10 11:33:06 +00:00
msaitoh
c6a6db9921 shl -> !target_big_endian 2002-04-10 10:12:10 +00:00
msaitoh
eec913e568 sync with gnu/dist/gas/config/tc-sh.[ch] rev. 1.3
> Use only one common variable to check whether big endian or not.
 > Now gas doesn't confuse endianness!
2002-04-10 10:03:43 +00:00
thorpej
fc6514a57b * Add 2 new BFD targets, "elf32-littlearm-nbsd" and "elf32-bigarm-nbsd".
These targets are identical to the non-nbsd versions except that they
  mark resulting ELF objects and executables as OSABI_NETBSD version 0.
* Add big-endian ARM BFD vectors to arm-*-netbsdelf.  Make the -nbsd
  BFD target the default for arm-*-netbsdelf.
2002-04-01 19:53:05 +00:00
fredette
7a6b4d460d Pulled changes from binutils-current necessary for 68010
support.  Specifically, got the changes to md_prepare_relax_scan
from binutils' revision 1.11 of this file.  As a bonus also
now define DWARF2_LINE_MIN_INSN_LENGTH.
2002-03-21 23:53:14 +00:00
mrg
60e3a276af sync with FSF binutils:
- also accept "-maltivec"
	- enable altivec by default
	- add mtvrsave and mfvrsave

the latter two are required for an "altivec" GCC.
2002-03-04 13:35:42 +00:00
matt
796a42b608 Only ELF has S_IS_WEAK. 2002-02-24 19:50:14 +00:00
matt
4ce78967e6 Make some assembler warnings fatal errors. don't allow 4 char register
name in OBJ_AOUT mode.
2002-02-24 01:10:31 +00:00
matt
9fe6d7dc5a Dump a few comments that don't apply anymore. Remove dead code that is no
longer used.  Add register prefix support.  It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt
90b4581807 Ahhh! Use tc_fix_adjustable to make gas not resolve symbols into segment
based references for weak or external symbols.
2002-02-21 07:30:32 +00:00
matt
1b65728579 Gegneralize the PLT/GOT processing to properly emit relocs even for symbols
in the segment/file so that they linker can resolve them for shared libraries.
2002-02-21 06:59:16 +00:00
matt
ffefe31a4b When calling weak or global symbols in the same segment, make sure to use
RELAX encoding what can be transmorgified into a PLT reloc.
2002-02-21 00:18:43 +00:00
matt
e9ecffcaf2 When emitting a GOT reloc, use the frag symbol since we want the
external name, not where it lives in this object (which would happen
in the symbol was defined locally).  All, don't use offset but addnumber.
2002-02-20 18:50:40 +00:00
matt
9fcb3b5a86 If the symbol is weak or external and this is a PCREL reference,
generate a fragment instead of fixup.  This allows us to convert
to a GOT or PLT reference which can be resolved externally.
2002-02-20 08:12:43 +00:00
thorpej
74474e4e91 Patch posted to binutils@sources.redhat.com by Matt Fredette
(should make it into stock binutils as soon as Matt's copyright
assignment paperwork is finalized):

bfd:
	* elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize
	EF_M68000.

binutils:
	* readelf.c (get_machine_flags): Recognize EF_M68000.

gas:
	* config/tc-m68k.c (md_show_usage): No longer display a
	hard-coded "68020" for the default CPU, instead display the
	canonical name of the true, configured default CPU.
	(m68k_elf_final_processing): Mark objects for sub-68020
	CPUs with the new EF_M68000 flag.

include/elf:
	* m68k.h (EF_M68000): Define.
2002-01-28 21:39:07 +00:00
wiz
6041ec37c2 then -> than.
Diffs already sent back to binutils maintainers.
2002-01-07 14:54:09 +00:00
thorpej
06811a827d Go back to the nop/unop pattern, and pick up rev. 1.35 from the
master FSF sources (rth):

	* config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
2001-12-18 00:33:35 +00:00
thorpej
c7af981281 Make a note about what "nop" and "unop" actually are. 2001-12-17 01:51:44 +00:00
thorpej
75acdbe31a Undo a local change inherited from our local binutils 2.9 that
is not needed in binutils 2.11.
2001-12-16 17:50:56 +00:00
thorpej
6ed87749ed Add support for building sh-*-netbsdelf (elf32-sh-big) and
shle-*-netbsdelf (elf32-sh-little).
2001-12-15 02:18:24 +00:00
matt
71e81eb955 Also apply a fix if there are no symbols involved (which means that no
reloc will be emitted for the fix).
2001-09-08 16:38:32 +00:00
matt
649981af00 The don't apply fix if not NO_RELOC only applies to OBJ_ELF. 2001-09-08 04:38:34 +00:00
matt
f23306e36f We need md_apply_fix is there is NO_RELOC. 2001-09-08 04:33:58 +00:00
matt
239fd58a71 md_apply_fix is a NOP for ELF. So macro it away. Simplify the resulting
one for the non-ELF case.
2001-09-07 17:14:24 +00:00
matt
bb46238ed7 Merge in 2.11.2 changes into my ELF support 2001-09-07 05:06:51 +00:00
matt
e934346ca9 Make -mvec as an alternative for -m7400 since -mvec existed in binutil 2.9 2001-09-06 21:07:07 +00:00
mrg
f05a7e7c12 fix the NetBSD comment char (already fixed in net binutils.) 2001-08-17 11:12:34 +00:00
tv
53f1af26cd Resolve conflicts from binutils 2.11.2 import
(Also fix some cosmetic garbage added by autoconf, automake, or CVS merges
to get our files closer to the FSF versions.)
2001-08-14 04:43:05 +00:00
tv
2e1e353192 Import binutils 2.11.2. 2001-08-14 02:47:42 +00:00
tv
fa1ff75b0b Add a missing const to squelch a gcc warning/error. 2001-08-06 18:00:55 +00:00
matt
8251c8dd77 Don't emit JUMP_SLOT at all (match behave of gas-current for arm). 2001-07-19 14:55:51 +00:00
matt
e5efdf6e7f Emit relocs for NetBSD/vax a.out correctly. 2001-05-09 15:02:59 +00:00
matt
bc6a8a09a0 Add ELF support for VAX; fix (from bjh) ARM ELF for NetBSD 2001-05-03 18:15:12 +00:00
bjh21
0b339990b0 Don't declare pic_code twice in the OBJ_ELF case. 2001-04-23 18:08:52 +00:00
tv
4031f2faa5 Resolve conflicts from binutils 2.11 import. 2001-04-23 14:16:30 +00:00
tv
27b65c5cd9 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
tv
35f354e86d Import binutils 2.11. 2001-04-23 12:24:25 +00:00
tv
07a5bebdd8 Add cast to last change to ensure value fits in destination ((char) added). 2001-02-02 19:00:18 +00:00
tv
834ac1455a Merge from gnu/dist, rewrite:
On systems with signed "char", truncating (int)128 to (char) will result
in the value -128 (and so forth, through -1).  Instead, use the real values
0..255 correctly.
2001-02-02 18:57:04 +00:00
tv
ddc206813d Sync with configure.in. 2001-02-02 18:25:10 +00:00
tv
0c07dad326 Handle NetBSD targets uniformly. 2001-02-02 18:23:01 +00:00
tv
800fc36bec Use the now-standard BFD_RELOC_ARM_JUMP_SLOT name in lieu of
BFD_RELOC_ARM_JMPSLOT.
2001-01-31 19:35:11 +00:00
tv
8798a9a1bb Resolve conflicts from binutils 2.10.1 import. 2001-01-30 19:08:57 +00:00
tv
8a46e5b0f4 Import binutils 2.10.1. 2001-01-30 18:32:08 +00:00
bjh21
2307f87106 We only need one version of cons_fix_new_arm() -- merge them. 2000-10-22 11:44:56 +00:00