binutils-gdb.git
25 years ago * elf-bfd.h (elf_backend_data): Remove use_rela_p. Add
Mark Mitchell [Wed, 2 Jun 1999 13:01:04 +0000 (13:01 +0000)]
* elf-bfd.h (elf_backend_data): Remove use_rela_p.  Add
may_use_rel_p, may_use_rela_p, default_use_rela_p.
(bfd_elf_section_data): Add use_rela_p.
* elf.c (bfd_section_from_shdr): Set use_rela_p appropriately.
(_bfd_elf_new_section_hook): Likewise.
(elf_fake_sections): Use may_use_rela_p, etc., instead of
use_rela_p.
(_bfd_elf_copy_private_section_data): Copy use_rela_p.
* elfcode.h (write_relocs): Determine whether or not use rela
relocs based on the relocation section header.
* elflink.c (_bfd_elf_create_dynamic_sections): Use default_use_rela_p
instead of use_rela_p.
* elfxx-target.h (elf_backend_may_use_relp): New macro.
(elf_backend_may_use_rela_p): Likewise.
(elf_backend_default_use_rela_p): Likewise.
(elfNN_bed): Use them.

25 years ago* hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.
Richard Henderson [Wed, 2 Jun 1999 12:39:44 +0000 (12:39 +0000)]
* hosts/alphalinux.h (TRAD_CORE_EXTRA_SIZE_ALLOWED): Expand to 4096.

25 years ago* dlltool.c (gen_exp_file): Revert 19990411 change.
Richard Henderson [Wed, 2 Jun 1999 12:37:48 +0000 (12:37 +0000)]
* dlltool.c (gen_exp_file): Revert 19990411 change.

25 years agoForgot to commit.
Richard Henderson [Wed, 2 Jun 1999 12:29:27 +0000 (12:29 +0000)]
Forgot to commit.

25 years ago * reloc.c (BFD_RELOC_MIPS_SUB): New relocation.
Mark Mitchell [Wed, 2 Jun 1999 10:20:16 +0000 (10:20 +0000)]
* reloc.c (BFD_RELOC_MIPS_SUB): New relocation.
(BFD_RELOC_MIPS_GOT_PAGE): Likewise.
(BFD_RELOC_MIPS_GOT_OFST): Likewise.
(BFD_RELOC_MIPS_GOT_DISP): Likewise.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* elf32-mips.c (mips_info_to_howto_rela): New function.
(USE_REL): Adjust for new conventions.
(MINUS_ONE): New macro.
(elf_mips_howto_table): Add R_MIPS_SUB.
(mips_r): Add entries for MIPS_SUB, MIPS_GOT_PAGE, MIPS_GOT_OFST,
and MIPS_GOT_DISP.
(mips_elf_final_write_processing): Set sh_link, not sh_info, for a
.MIPS.content section.
(_bfd_mips_elf_fake_sections): Treat all sections that begin
with .MIPS.content as .MIPS.content sections.  Set
SHF_MNIPS_NOSTRIP for such section.
(elf_info_to_howto): Define to mips_info_to_howto_rela.
* elf64-mips.c (mips_r):  Add entries for MIPS_SUB, MIPS_GOT_PAGE,
MIPS_GOT_OFST, and MIPS_GOT_DISP.

25 years ago * vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized
Andreas Schwab [Wed, 2 Jun 1999 02:56:30 +0000 (02:56 +0000)]
* vms-misc.c (_bfd_vms_hash_newfunc): Fix use of uninitialized
variable.

25 years ago * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous
Andreas Schwab [Wed, 2 Jun 1999 02:53:21 +0000 (02:53 +0000)]
* elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Avoid ambigous
`else'.

25 years agoimport gdb-1999-06-01 snapshot
Jason Molenda [Tue, 1 Jun 1999 15:44:41 +0000 (15:44 +0000)]
import gdb-1999-06-01 snapshot

25 years ago * readelf.c (process_relocs): Determine type of reloc from
Andreas Schwab [Mon, 31 May 1999 00:58:59 +0000 (00:58 +0000)]
* readelf.c (process_relocs): Determine type of reloc from
DT_PLTREL and from section type.

25 years agoCort Dougan <cort@cs.nmt.edu>
Richard Henderson [Sun, 30 May 1999 16:06:14 +0000 (16:06 +0000)]
Cort Dougan  <cort@cs.nmt.edu>
        * config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux.

25 years agoCort Dougan <cort@attis.cs.nmt.edu>
Richard Henderson [Sun, 30 May 1999 15:55:31 +0000 (15:55 +0000)]
Cort Dougan  <cort@attis.cs.nmt.edu>
        * Makefile.am (ALL_EMULATIONS): Add eelf32ppclinux.o.
        * configure.tgt (powerpc-*-linux-gnu): Use it.
        * emulparams/elf32ppclinux.sh: New file.

25 years agoPhilip Blundell <philb@gnu.org>
Nick Clifton [Sun, 30 May 1999 11:36:53 +0000 (11:36 +0000)]
Philip Blundell  <philb@gnu.org>
* elf32-arm.h (elf32_arm_relocate_section): Reinstate change of
1993-03-25 (!!).  Take into account the bitmasks for the reloc so
the addend does not overflow into the rest of the word

25 years ago * ld.texinfo (Options): Clarify that options which refer to files
Ian Lance Taylor [Sat, 29 May 1999 19:43:33 +0000 (19:43 +0000)]
* ld.texinfo (Options): Clarify that options which refer to files
must be properly ordered.

25 years agoFix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.
Nick Clifton [Sat, 29 May 1999 11:05:22 +0000 (11:05 +0000)]
Fix implementation of R_ARM_PC24 and R_ARM_THM_PC22 relocs to conform to spec.

25 years agoImplement new command line option for new ABI: -p which prevents the ARM code
Nick Clifton [Sat, 29 May 1999 10:57:44 +0000 (10:57 +0000)]
Implement new command line option for new ABI: -p which prevents the ARM code
from exhibiting any knowledge of the length of the processor's pipeline.

25 years agoDisplay unknown values detected in ELF program header.
Nick Clifton [Sat, 29 May 1999 10:51:14 +0000 (10:51 +0000)]
Display unknown values detected in ELF program header.

25 years agoInclude pipeline offset in addend unless dealing with an old ABI.
Nick Clifton [Sat, 29 May 1999 10:47:20 +0000 (10:47 +0000)]
Include pipeline offset in addend unless dealing with an old ABI.

25 years agoDefine ELFOSABI_ARM
Nick Clifton [Sat, 29 May 1999 10:42:45 +0000 (10:42 +0000)]
Define ELFOSABI_ARM

25 years agofix typo.
Nick Clifton [Sat, 29 May 1999 09:09:39 +0000 (09:09 +0000)]
fix typo.

25 years agoremove spurious code.
Nick Clifton [Fri, 28 May 1999 17:24:21 +0000 (17:24 +0000)]
remove spurious code.

25 years ago -Wchar-subscripts cleanup
Doug Evans [Fri, 28 May 1999 15:28:56 +0000 (15:28 +0000)]
-Wchar-subscripts cleanup
* listing.c (listing_newline): Use unsigned char variable, so
  calls to isascii,iscntrl are correct.
* atof-generic.c (atof_generic): Cast arg to isdigit, et. al. with
(unsigned char).
* ecoff.c (ecoff_directive_ent,ecoff_stab): Ditto.
* config/obj-elf.c (obj_elf_vtable_inherit): Ditto.
* config/tc-mips.c (mips_ip,mips16_ip): Ditto.
(my_getSmallExpression,get_number,s_mips_ent): Ditto.

25 years ago * hppa.h (pa_opcodes): Move integer arithmetic instructions after
Jeff Law [Fri, 28 May 1999 14:26:52 +0000 (14:26 +0000)]
    * hppa.h (pa_opcodes): Move integer arithmetic instructions after
        integer logical instructions.

25 years agoInitialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Nick Clifton [Fri, 28 May 1999 13:24:33 +0000 (13:24 +0000)]
Initialise EI_OSABI and EI_ABIVERSION fields of e_ident array.
Add ability for backends to process program and section headers after they
have been created.

25 years agofix typo.
Nick Clifton [Fri, 28 May 1999 10:53:04 +0000 (10:53 +0000)]
fix typo.

25 years agoMinor formatting changes.
Nick Clifton [Fri, 28 May 1999 10:50:29 +0000 (10:50 +0000)]
Minor formatting changes.

25 years agoUpdate comment
Nick Clifton [Fri, 28 May 1999 10:47:30 +0000 (10:47 +0000)]
Update comment

25 years agoBetter coping with different reloc types.
Nick Clifton [Fri, 28 May 1999 10:14:11 +0000 (10:14 +0000)]
Better coping with different reloc types.

25 years ago * configure.in: Check whether getuid and getgid exist.
Ian Lance Taylor [Thu, 27 May 1999 22:48:53 +0000 (22:48 +0000)]
* configure.in: Check whether getuid and getgid exist.
* archive.c: Define getuid and getgid as macros if HAVE_GETUID or
HAVE_GETGID are not defined, respectively.
(bfd_write_armap): Don't special case on _WIN32 for getuid and
getgid.
* configure.host: Set ac_cv_func_get{ug}id for *-*-windows*.
* configure, config.in: Rebuild.

25 years ago1999-05-28 Torbjorn Granlund <tege@matematik.su.se>
Ian Lance Taylor [Thu, 27 May 1999 22:36:51 +0000 (22:36 +0000)]
1999-05-28  Torbjorn Granlund  <tege@matematik.su.se>
* config/tc-m68k.c (m68k_ip): Check for disallowed index register
width for Coldfire.
(arch_coldfire_p): New #define.
(m68k_ip, m68k_init_after_args): Use arch_coldfire_p.
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* config/tc-m68k.c (install_operand): Add places `n', `o'.
* config/tc-m68k.c (m68k_ip): Add formats `E', `G', `H'.
(install_operand): Add place `N'.
(init_table): Add registers ACC, MACSR, MASK.
* config/m68k-parse.h (m68k_register): Add ACC, MACSR, MASK.
* config/tc-m68k.c: Change mcf5200 --> mcf.
(archs): Add mcf5206e, mcf5307.
(m68k_ip): Add format `u'.
(install_operand): Add place `m', `M', `h'.
(init_table): Add upper/lower registers.
* config/m68k-parse.h (m68k_register): Add upper/lower registers.

25 years ago1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
Ian Lance Taylor [Thu, 27 May 1999 22:33:14 +0000 (22:33 +0000)]
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* m68k-opc.c: Rename MACL/MSACL to MAC/MSAC.  Add MACM/MSACM.  Add
MOVE MACSR,CCR.
* m68k-dis.c (fetch_arg): Add places `n', `o'.
* m68k-opc.c: Add MSAC, MACL, MOVE to/from ACC, MACSR, MASK.
Add mcf5206e to appropriate instructions.
Add alias for MAC, MSAC.
* m68k-dis.c (print_insn_arg): Add formats `E', `G', `H' and place
`N'.
* m68k-opc.c (m68k_opcodes): Add divsw, divsl, divuw, divul, macl,
macw, remsl, remul for mcf5307.  Change mcf5200 --> mcf.
* m68k-dis.c: Add format `u' and places `h', `m', `M'.

25 years ago1999-05-28 Linus Nordberg <linus.nordberg@canit.se>
Ian Lance Taylor [Thu, 27 May 1999 22:31:03 +0000 (22:31 +0000)]
1999-05-28  Linus Nordberg  <linus.nordberg@canit.se>
* m68k.h: Document new formats `E', `G', `H' and new places `N',
`n', `o'.
* m68k.h: Define mcf5206e, mcf5307, mcf.  Document new format `u'
and new places `m', `M', `h'.

25 years ago * binutils-all/readelf.h: Update for changes of 1999-04-08.
Ian Lance Taylor [Thu, 27 May 1999 22:05:26 +0000 (22:05 +0000)]
* binutils-all/readelf.h: Update for changes of 1999-04-08.

25 years ago * readelf.c: Include "elf/i960.h".
Ian Lance Taylor [Thu, 27 May 1999 22:04:40 +0000 (22:04 +0000)]
* readelf.c: Include "elf/i960.h".
(dump_relocations): Handle EM_960.

25 years ago * gas/vtable/vtable.exp: Don't run test for i960 yet.
Ian Lance Taylor [Thu, 27 May 1999 21:58:10 +0000 (21:58 +0000)]
* gas/vtable/vtable.exp: Don't run test for i960 yet.

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:57:48 +0000 (21:57 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* config/tc-i960.c: Several minor changes to add ELF and
BFD_ASSEMBLER support.
* config/tc-i960.h: Likewise.
* configure.in (i960-*-elf*): New target.
* aclocal.m4, configure: Rebuild.

25 years agorebuild dependencies
Ian Lance Taylor [Thu, 27 May 1999 21:54:35 +0000 (21:54 +0000)]
rebuild dependencies

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:49:21 +0000 (21:49 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* configure.tgt (i960-*-elf*): New target.
* emulparams/elf32_i960.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_i960.o.
(eelf32_i960.c): New target.
* Makefile.in: Rebuild.

25 years agofix copyrights
Ian Lance Taylor [Thu, 27 May 1999 21:44:39 +0000 (21:44 +0000)]
fix copyrights

25 years ago1999-05-28 Martin Dorey <mdorey@madge.com>
Ian Lance Taylor [Thu, 27 May 1999 21:42:14 +0000 (21:42 +0000)]
1999-05-28  Martin Dorey  <mdorey@madge.com>
* elf32-i960.c: New file.
* elf.c (prep_headers): Handle bfd_arch_i960.
* targets.c (bfd_target_vector): Add &bfd_elf32_i960_vec.
* config.bfd (i960-*-elf*): New target.
* configure.in (bfd_elf32_i960_vec): New target vector.
* Makefile.am (BFD32_BACKENDS): Add elf32-i960.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i960.c.
* Makefile.in, aclocal.m4, configure: Rebuild.

25 years agorebuild
Ian Lance Taylor [Thu, 27 May 1999 21:40:25 +0000 (21:40 +0000)]
rebuild

25 years ago * i960.h: New file.
Ian Lance Taylor [Thu, 27 May 1999 21:29:05 +0000 (21:29 +0000)]
* i960.h: New file.

25 years agobreak long line
Ian Lance Taylor [Thu, 27 May 1999 20:48:12 +0000 (20:48 +0000)]
break long line

25 years agoAdd support for BFD_RELOC_ARM_PLT32
Nick Clifton [Thu, 27 May 1999 07:41:14 +0000 (07:41 +0000)]
Add support for BFD_RELOC_ARM_PLT32

25 years ago * hppa.h (pa_opcodes): Add several processor specific system
Jeff Law [Thu, 27 May 1999 03:19:32 +0000 (03:19 +0000)]
    * hppa.h (pa_opcodes): Add several processor specific system
        instructions.

25 years ago * objcopy.c (copy_archive): Preserve dates of archive members if
Andreas Schwab [Thu, 27 May 1999 03:16:15 +0000 (03:16 +0000)]
* objcopy.c (copy_archive): Preserve dates of archive members if
requested.

25 years ago * readelf.c (dump_relocations): Always print the addend on RELA
Andreas Schwab [Thu, 27 May 1999 03:02:23 +0000 (03:02 +0000)]
* readelf.c (dump_relocations): Always print the addend on RELA
systems even if there is no symbol.
(process_program_headers): Reset dynamic_size before looping
through the program headers.
(process_version_sections): Cast sh_offset to unsigned long for
printing in case bfd_vma is wider.
(process_symbol_table): Use get_symbol_index_type when printing
st_shndx.

25 years agoUse correct template
Nick Clifton [Wed, 26 May 1999 17:23:32 +0000 (17:23 +0000)]
Use correct template

25 years ago * hppa.h (pa_opcodes): Add second entry for "comb", "comib",
Jeff Law [Wed, 26 May 1999 16:04:11 +0000 (16:04 +0000)]
    * hppa.h (pa_opcodes): Add second entry for "comb", "comib",
        "addb", and "addib" to be used by the disassembler.

25 years agoApplied patches from Philip Blundell <pb@nexus.co.uk>, to improve PIC support.
Nick Clifton [Wed, 26 May 1999 08:27:38 +0000 (08:27 +0000)]
Applied patches from Philip Blundell  <pb@nexus.co.uk>, to improve PIC support.

25 years agoimport gdb-1999-05-25 snapshot
Jason Molenda [Tue, 25 May 1999 18:09:09 +0000 (18:09 +0000)]
import gdb-1999-05-25 snapshot

25 years ago* windres.c: add verbose option
DJ Delorie [Tue, 25 May 1999 12:10:27 +0000 (12:10 +0000)]
* windres.c: add verbose option
(main): process verbose option
* resrc.c (look_for_default): new.  Look for the default
preprocessor in a given location.
(read_rc_file): for foo/bar-windres, look for foo/bar-gcc,
foo/gcc (in case of foo/windres), and then gcc (the old default).

25 years ago * coff-arm.c (coff_arm_relocate_section): Don't emit
Catherine Moore [Tue, 25 May 1999 11:56:16 +0000 (11:56 +0000)]
    * coff-arm.c (coff_arm_relocate_section): Don't emit
        base file entries for pc-relative values.

25 years ago* peicode.h (coff_swap_sym_in): When we create the actual section
DJ Delorie [Tue, 25 May 1999 11:37:40 +0000 (11:37 +0000)]
* peicode.h (coff_swap_sym_in): When we create the actual section
to reflect the not-there section C_SECTION symbols refer to,
change the symbol class to C_STAT as the section is now really
there.

25 years agoÿ
Alan Modra [Mon, 24 May 1999 18:25:27 +0000 (18:25 +0000)]
ÿ
Fiz i386-iaout breakage introduced by last patch.

25 years agoè
Alan Modra [Mon, 24 May 1999 18:25:25 +0000 (18:25 +0000)]
è
Fiz i386-iaout breakage introduced by last patch.

25 years agoUpdated to match latest version in EGCS
Nick Clifton [Mon, 24 May 1999 15:20:21 +0000 (15:20 +0000)]
Updated to match latest version in EGCS

25 years ago1999-05-24 Philip Blundell <philb@gnu.org>
Nick Clifton [Mon, 24 May 1999 12:49:30 +0000 (12:49 +0000)]
1999-05-24  Philip Blundell  <philb@gnu.org>
* emultempl/armelf.em (before_parse): Set config.dynamic_link and
  config.has_shared.
* emulparams/armelf.sh (GENERATE_SHLIB_SCRIPT): Define.
* emulparams/armelf_linux.sh (GENERATE_SHLIB_SCRIPT): Likewise

25 years ago1999-05-24 Philip Blundell <pb@nexus.co.uk>
Nick Clifton [Mon, 24 May 1999 10:06:39 +0000 (10:06 +0000)]
1999-05-24  Philip Blundell  <pb@nexus.co.uk>
* elf32-arm.h (elf32_arm_relocate_section): Undo change of
  1999-03-25

25 years agoSync up with Cygnus CVS repository (cvs import doesn't handle these
Jason Molenda [Sun, 23 May 1999 20:02:56 +0000 (20:02 +0000)]
Sync up with Cygnus CVS repository (cvs import doesn't handle these
automatically, alas.  This cleanpu must be automated in the near future).
Tue Mar  9 19:25:11 1999  Stan Shebs  <shebs@andros.cygnus.com>
        * h8-cfg.texi: Remove, hasn't been used in years.
1999-05-10  Martin Hunt  <hunt@cygnus.com>
        * debugify.c, debugify.h: Removed because they are no
        longer used.
Tue Mar 16 15:29:04 1999  Stan Shebs  <shebs@andros.cygnus.com>
        * go32-xdep.c: Remove, no longer used by anything.

25 years agoAccept 'sp' as a valid register name.
Nick Clifton [Sat, 22 May 1999 14:49:51 +0000 (14:49 +0000)]
Accept 'sp' as a valid register name.

25 years agoAdd definitions related to shared objects (copied from elf32.em)
Nick Clifton [Sat, 22 May 1999 09:55:50 +0000 (09:55 +0000)]
Add definitions related to shared objects (copied from elf32.em)

25 years agoimport gdb-1999-0519
Jason Molenda [Wed, 19 May 1999 19:58:41 +0000 (19:58 +0000)]
import gdb-1999-0519

25 years ago * coff-arm.c (coff_arm_relocate_section): Account for
Catherine Moore [Wed, 19 May 1999 10:20:12 +0000 (10:20 +0000)]
    * coff-arm.c (coff_arm_relocate_section):  Account for
        multiple glue sections when generating base file entries.

25 years agoUse renamed ARM cpu flag bits
Nick Clifton [Wed, 19 May 1999 07:27:14 +0000 (07:27 +0000)]
Use renamed ARM cpu flag bits

25 years agoRenumber cpu flag bits to avoid collision with PE flag bits
Nick Clifton [Wed, 19 May 1999 07:25:59 +0000 (07:25 +0000)]
Renumber cpu flag bits to avoid collision with PE flag bits

25 years ago * Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
Andreas Schwab [Wed, 19 May 1999 03:50:52 +0000 (03:50 +0000)]
* Makefile.am (ALL_EMULATIONS): Remove earmlinux.o and
earm26linux.o, add earmelf_linux.o and earmelf_linux26.o.
* Makefile.in: Regenerated.

25 years agoAdd xfail for mcore-elf
Nick Clifton [Mon, 17 May 1999 09:46:52 +0000 (09:46 +0000)]
Add xfail for mcore-elf

25 years agoUpdate to match lattest assembler/objdump outpuyt
Nick Clifton [Mon, 17 May 1999 09:26:37 +0000 (09:26 +0000)]
Update to match lattest assembler/objdump outpuyt

25 years agoè
Alan Modra [Mon, 17 May 1999 08:35:42 +0000 (08:35 +0000)]
è
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly.  const lots of places.

25 years agoa
Alan Modra [Mon, 17 May 1999 08:35:41 +0000 (08:35 +0000)]
a
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly.  const lots of places.

25 years agoØ
Alan Modra [Mon, 17 May 1999 08:35:40 +0000 (08:35 +0000)]
Ø
Add missing files from last change in gas/testsuite.
i386-dis.c: Catch a number of cases where an invalid modrm would result in
bogus disassembly.  const lots of places.

25 years agoè
Alan Modra [Mon, 17 May 1999 03:21:52 +0000 (03:21 +0000)]
è
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.

25 years agon
Alan Modra [Mon, 17 May 1999 03:21:50 +0000 (03:21 +0000)]
n
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.

25 years ago*** empty log message ***
Alan Modra [Mon, 17 May 1999 03:21:49 +0000 (03:21 +0000)]
*** empty log message ***

25 years ago/
Alan Modra [Mon, 17 May 1999 03:21:46 +0000 (03:21 +0000)]
/
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.

25 years agoMove bitfield overflow checks to after the md_apply_fix call in
Alan Modra [Mon, 17 May 1999 03:21:41 +0000 (03:21 +0000)]
Move bitfield overflow checks to after the md_apply_fix call in
fixup_segment so that md_apply_fix has a chance to modify value.
Handle 8 and 16-bit pcrel relocs for i386.
Prototypes and other minor code cleanups.

25 years agoreinstate uin_reloc_p
Nick Clifton [Sun, 16 May 1999 14:16:52 +0000 (14:16 +0000)]
reinstate uin_reloc_p

25 years agoAdd support for generating an mcore-elf dll.
Nick Clifton [Sun, 16 May 1999 14:12:20 +0000 (14:12 +0000)]
Add support for generating an mcore-elf dll.

25 years agoAdd mcore-elf support for shared libraries
Nick Clifton [Sun, 16 May 1999 14:02:47 +0000 (14:02 +0000)]
Add mcore-elf support for shared libraries

25 years agoAdd PLT relolcs
Nick Clifton [Sun, 16 May 1999 13:57:59 +0000 (13:57 +0000)]
Add PLT relolcs

25 years agoAdd support for mcore RVA relocs.
Nick Clifton [Sat, 15 May 1999 15:38:13 +0000 (15:38 +0000)]
Add support for mcore RVA relocs.

25 years agoAdd support for mcore to dlltool.
Nick Clifton [Sat, 15 May 1999 15:25:22 +0000 (15:25 +0000)]
Add support for mcore to dlltool.

25 years agoDefined rva relocations.
Nick Clifton [Sat, 15 May 1999 15:13:18 +0000 (15:13 +0000)]
Defined rva relocations.

25 years ago * elf32-arm.h (elf32_arm_relocate_section): Fix operator
Andreas Schwab [Fri, 14 May 1999 02:02:26 +0000 (02:02 +0000)]
* elf32-arm.h (elf32_arm_relocate_section): Fix operator
  precedence between bit-and and comparison.

25 years ago * config/atof-ieee.c (gen_to_words): Correctly round a
Andreas Schwab [Fri, 14 May 1999 01:53:28 +0000 (01:53 +0000)]
* config/atof-ieee.c (gen_to_words): Correctly round a
denormalized number.  Fix off-by-one in range checking for
exponent in a denormal.

25 years agoJoel Sherrill (joel@OARcorp.com)
Richard Henderson [Thu, 13 May 1999 09:49:48 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
        * configure.tgt (i386-*-rtemself*, sh-*-rtemself*): New targets.
        (mips*el-*-rtems*, powerpcle-*-rtems*): New targets.

25 years agoJoel Sherrill (joel@OARcorp.com)
Richard Henderson [Thu, 13 May 1999 09:49:29 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
        * configure.in (i386-*-rtemself*, sh-*-rtemself*): New targets.

25 years agoJoel Sherrill (joel@OARcorp.com)
Richard Henderson [Thu, 13 May 1999 09:49:09 +0000 (09:49 +0000)]
Joel Sherrill (joel@OARcorp.com)
        * config.bfd (i[3456]86*-*-rtems*, m68k*-*-rtems*): Added to
        list of target formats (targ_selvecs).
        (i[3456]86*-*-rtemself*, mips*el-*-rtems*): New targets.
        (powerpcle*-*rtems*, sh-*-rtemself*): New targets.

25 years agoP
Alan Modra [Thu, 13 May 1999 06:00:30 +0000 (06:00 +0000)]
P
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly

25 years agoX
Alan Modra [Thu, 13 May 1999 06:00:14 +0000 (06:00 +0000)]
X
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly

25 years agoÿ
Alan Modra [Thu, 13 May 1999 06:00:13 +0000 (06:00 +0000)]
ÿ
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly

25 years agoi386 PIII SIMD support, remove ReverseRegRegmem kludge
Alan Modra [Thu, 13 May 1999 06:00:10 +0000 (06:00 +0000)]
i386 PIII SIMD support, remove ReverseRegRegmem kludge
tidy a few things in i386 intel mode disassembly

25 years ago * rclex.l: add code to suppress certain output from cpp, replace
DJ Delorie [Wed, 12 May 1999 22:03:10 +0000 (22:03 +0000)]
* rclex.l: add code to suppress certain output from cpp, replace
all returns with MAYBE_RETURN
(MAYBE_RETURN): new, implement the suppression by returning
IGNORED_TOKEN as needed.
(cpp_line): remember which file we're in, mark data from included
*.h files for suppression.
* rcparse.y (input): allow IGNORED_TOKEN outside of known constructs

25 years ago1999-05-10 DJ Delorie <dj@cygnus.com>
DJ Delorie [Tue, 11 May 1999 21:06:50 +0000 (21:06 +0000)]
1999-05-10  DJ Delorie  <dj@cygnus.com>
* scripttempl/pe.sc: Specify the output arch, which Ian says is
the Right Thing to do.
* emultempl/pe.em: various changes to parameterize the
target-specific information.
(gld_i386pe_after_open): Detect and fix MS import libraries
by renaming the member objects (which are all named the same).
* pe-dll.c: various changes to parameterize the target-specific
information.
(generate_reloc): support relocs more generically to allow for
expansion.
(pe_exe_build_sections): new; used to add .relocs to .exes
(pe_exe_fill_sections): ditto

25 years ago1999-05-10 DJ Delorie <dj@cygnus.com>
DJ Delorie [Tue, 11 May 1999 21:06:16 +0000 (21:06 +0000)]
1999-05-10  DJ Delorie  <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string
(main): quote parameters to cpp that might have metacharacters in
them.  Allow -D as an alias for --define to allow for sharing make
macros with gcc.
* objdump.c (dump_reloc_set): don't core if howto->name is NULL
* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
the correct BFD.
* Makefile.in: ditto
* rescoff.c (write_coff_file): Set the correct BFD

25 years ago * ecoff.c (_bfd_ecoff_write_armap): give the symtab element a
DJ Delorie [Tue, 11 May 1999 21:05:44 +0000 (21:05 +0000)]
* ecoff.c (_bfd_ecoff_write_armap): give the symtab element a
reasonable mode until "ar x" is smart enough to skip it (fixes
gcc/libgcc.a builds on mips-ecoff targets
* coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed
to work.  Hack to support MS import libraries, which use different
COMDAT types than GNU.
(coff_slurp_symbol_table): C_SECTION symbols are local; they refer
to implied zero-length sections (see peicode below)
* coffgen.c (coff_get_normalized_symtab): Properly read long MS
filename symbols, which use one *or more* auxents.
* coffswap.h (coff_swap_aux_in): ditto
* peicode.h (coff_swap_sym_in): Build the implied zero-length
sections

25 years ago* ld-srec/srec.exp: Do not run tests for PE based ports.
DJ Delorie [Tue, 11 May 1999 20:31:53 +0000 (20:31 +0000)]
* ld-srec/srec.exp: Do not run tests for PE based ports.

25 years agoimport gdb-1999-05-10
Stan Shebs [Tue, 11 May 1999 20:29:07 +0000 (20:29 +0000)]
import gdb-1999-05-10

25 years ago * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false
Jeff Law [Tue, 11 May 1999 14:57:28 +0000 (14:57 +0000)]
    * elf32-v850.c (v850_elf_howto_table): Make partial_inplace false
        for all relocations.

25 years agoimport gdb-1999-05-10
Stan Shebs [Tue, 11 May 1999 13:35:55 +0000 (13:35 +0000)]
import gdb-1999-05-10