Commit Graph

67 Commits

Author SHA1 Message Date
lukem c2d985356e Consistently comment out rules which attempt to rebuild .info from .texinfo,
(and associated targets for .dvi et al), as well as man pages from .pod,
using a prefix of `#  '.

This prevents a variety of build issues caused by situations such as
cvs checkouts which result in the .texinfo file being slightly newer
than the .info file, and the build process trying to unnecessarily
regenerate them, which will fail in a variety of circumstances
(build tools not available, read-only source, etc ...)

Once a better solution is found, we can switch to it.
For now, this improves things greatly and should reduce a lot of
support requests that would undoubtably appear otherwise...
2003-03-02 13:11:04 +00:00
mrg 2920dd6064 oops; re-enable the asconfig.texi rule. 2003-03-02 08:16:09 +00:00
mrg bc8fc1085d merge binutils 2.13.2.1 2003-03-01 12:25:55 +00:00
mrg ee06049914 import of (most of) binutils 2.13.2.1. no top level, and cut down include/
libiberty.  (gcc update later can update libiberty properly.)
2003-03-01 10:06:40 +00:00
tsutsui c10cb12be7 Pull up changes from binutils master sources
<http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/?cvsroot=src>
to fix relocation problem on linking startup routines for sh3:

src/bfd/elf32-sh.c revision 1.36:
> * elf32-sh.c (sh_elf_howto_table, R_SH_REL32): Make
> partial_inplace, matching assembler output.  Set src_mask to
> all ones.
> (sh_elf_relocate_section): Delete misplaced comment.
> For relocatable linking against section symbol, call
> _bfd_relocate_contents for partial_inplace relocs and adjust
> rel->r_addend for others.
> <case R_SH_DIR32, R_SH_REL32>: Fetch partial_inplace addend with
> bfd_get_32, not at rel->r_addend.

src/gas/config/tc-sh.c revision 1.43:
> * config/tc-sh.c (md_pcrel_from_section): Transformed from
> md_pcrel_from.  Handle pc-relativeness against link-time
> symbol.  Handle relativeness to elsewhere than the fixup.

src/gas/config/tc-sh.h revision 1.14:
> * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
> (md_pcrel_from_section): Prototype.

Thanks to Kaz Kojima and Jason R Thorpe for their comments.
2003-02-08 17:09:35 +00:00
thorpej aedbc29a82 Various changes to support soft-vfp:
* FPU_MEMMULTI -- only include the FPU_FPA10 bit.
* FPU_ARCH_VFP -- define, meaning "uses VFP-format layout".
* FPU_FPA -- define short-hand for (FPU_CORE|FPU_FPA10).
* FPU_DEFAULT -- FPU_ALL -> FPU_FPA.
* Floating point instructions -- FPU_ALL -> FPU_FPA.
* Also set F_SOFT_FLOAT if FPU_ARCH_VFP.
* Set F_VFP_FLOAT if FPU_ARCH_VFP.
* md_atof: lay out bytes properly if using VFP.
* Accept -mfpu=softvfp.
* For -mall, set the FPU part of cpu_variant to FPU_FPA, instead of
  FPU_ALL.
2002-11-21 06:32:20 +00:00
thorpej 8fa28a286c Bring in the following change from Binutils-current:
2002-09-28  Matt Thomas  <matt@3am-software.com>
            Jason Thorpe  <thorpej@wasabisystems.com>

        * config/tc-vax.c (md_estimate_size_before_relax): Only try to
        convert undefined references to GOT32/PLT32 if PIC code is
        requested.  Fix comment.
2002-11-05 14:33:35 +00:00
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