OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago * cxxfilt.c (long_options): Add --no-params.
Ian Lance Taylor [Sun, 23 Nov 2003 01:10:45 +0000 (01:10 +0000)]
* cxxfilt.c (long_options): Add --no-params.
(main): Handle -p/--no-params.
* doc/binutils.texi (c++filt): Document -p/--no-params.

20 years agodaily update
Alan Modra [Sat, 22 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * ehopt.c: Convert to ISO-C.
Kazu Hirata [Sat, 22 Nov 2003 16:03:03 +0000 (16:03 +0000)]
* ehopt.c: Convert to ISO-C.
* emul.h: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flonum-copy.c: Likewise.
* flonum-mult.c: Likewise.
* flonum.h: Likewise.
* frags.c: Likewise.
* frags.h: Likewise.

20 years ago * config/atof-tahoe.c: Fix comment typos.
Kazu Hirata [Sat, 22 Nov 2003 15:32:28 +0000 (15:32 +0000)]
* config/atof-tahoe.c: Fix comment typos.
* config/m68k-parse.y: Likewise.
* config/obj-aout.c: Likewise.
* config/obj-bout.c: Likewise.
* config/obj-vms.c: Likewise.
* config/tc-tahoe.c: Likewise.
* config/tc-tic30.c: Likewise.
* config/tc-tic4x.c: Likewise.
* config/tc-tic54x.c: Likewise.
* config/tc-v850.c: Likewise.
* config/tc-vax.c: Likewise.
* config/te-delt88.h: Likewise.
* config/te-delta.h: Likewise.
* config/te-generic.h: Likewise.
* config/te-macos.h: Likewise.
* config/te-ppcnw.h: Likewise.
* config/te-psos.h: Likewise.
* config/te-sun3.h: Likewise.
* config/te-tmips.h: Likewise.
* config/xtensa-relax.c: Likewise.

20 years ago2003-11-22 Jakub Jelinek <jakub@redhat.com>
Jakub Jelinek [Sat, 22 Nov 2003 10:45:44 +0000 (10:45 +0000)]
2003-11-22  Jakub Jelinek  <jakub@redhat.com>

* elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
(elf_i386_check_relocs): Set it.
(elf_i386_finish_dynamic_symbol): If it is not set,
clear st_value of SHN_UNDEF symbol.

20 years ago * doc/c-ppc.texi (PowerPC-Pseudo): Add section.
Alan Modra [Sat, 22 Nov 2003 06:14:48 +0000 (06:14 +0000)]
* doc/c-ppc.texi (PowerPC-Pseudo): Add section.

20 years ago * gas/i386/divide.s: New.
Alan Modra [Sat, 22 Nov 2003 04:47:17 +0000 (04:47 +0000)]
* gas/i386/divide.s: New.
* gas/i386/divide.d: New.
* gas/i386/i386.exp (gas_32_check): Run it.

20 years ago * app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.
Alan Modra [Sat, 22 Nov 2003 04:46:36 +0000 (04:46 +0000)]
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22.

20 years ago * config/tc-a29k.h: Fix comment typos.
Kazu Hirata [Sat, 22 Nov 2003 02:35:31 +0000 (02:35 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-arm.c: Likewise.
* config/tc-dlx.h: Likewise.
* config/tc-hppa.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-m32r.c: Likewise.
* config/tc-m68hc11.c: Likewise.
* config/tc-m68k.c: Likewise.
* config/tc-m88k.c: Likewise.
* config/tc-mcore.c: Likewise.
* config/tc-mips.c: Likewise.
* config/tc-mmix.c: Likewise.
* config/tc-msp430.c: Likewise.
* config/tc-ns32k.c: Likewise.
* config/tc-or32.c: Likewise.
* config/tc-or32.h: Likewise.
* config/tc-pj.c: Likewise.
* config/tc-ppc.c: Likewise.
* config/tc-s390.c: Likewise.
* config/tc-sh64.c: Likewise.
* config/tc-sh.c: Likewise.
* config/tc-sparc.c: Likewise.

20 years ago * ecoff.c: Convert to ISO-C.
Kazu Hirata [Sat, 22 Nov 2003 00:20:48 +0000 (00:20 +0000)]
* ecoff.c: Convert to ISO-C.
* ecoff.h: Likewise.

20 years agodaily update
Alan Modra [Fri, 21 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 22:01:27 +0000 (22:01 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 21:02:26 +0000 (21:02 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Fri, 21 Nov 2003 17:42:45 +0000 (17:42 +0000)]
merge from gcc

20 years ago * gas/ppc/machine.s: New.
Alan Modra [Fri, 21 Nov 2003 15:05:55 +0000 (15:05 +0000)]
* gas/ppc/machine.s: New.
* gas/ppc/machine.d: New.
* gas/ppc/ppc.exp: Run it.

20 years ago * config/tc-ppc.c (parse_cpu): New function, broken out from..
Alan Modra [Fri, 21 Nov 2003 15:05:15 +0000 (15:05 +0000)]
* config/tc-ppc.c (parse_cpu): New function, broken out from..
(md_parse_option): ..here.
(ppc_setup_opcodes): New function, broken out from..
(md_begin): ..here.
(ppc_machine): Implement .machine pseudo op.

20 years ago * config/tc-hppa.c: Fix comment typos.
Kazu Hirata [Fri, 21 Nov 2003 14:38:06 +0000 (14:38 +0000)]
* config/tc-hppa.c: Fix comment typos.
* config/tc-i370.c: Likewise.
* config/tc-i386.c: Likewise.
* config/tc-i386.h: Likewise.
* config/tc-i960.c: Likewise.
* config/tc-ia64.c: Likewise.
* config/tc-iq2000.h: Likewise.

20 years ago * depend.c: Convert to ISO-C.
Kazu Hirata [Fri, 21 Nov 2003 13:28:35 +0000 (13:28 +0000)]
* depend.c: Convert to ISO-C.
* dwarf2dbg.c: Likewise.
* dwarf2dbg.h: Likewise.

20 years ago * app.c: Convert to ISO-C.
Kazu Hirata [Fri, 21 Nov 2003 01:52:16 +0000 (01:52 +0000)]
* app.c: Convert to ISO-C.
* as.h: Likewise.
* atof-generic.c: Likewise.
* bignum-copy.c: Likewise.
* bignum.h: Likewise.
* cgen.c: Likewise.
* cgen.h: Likewise.
* cond.c: Likewise.

20 years ago * config/tc-a29k.h: Fix comment typos.
Kazu Hirata [Fri, 21 Nov 2003 00:24:40 +0000 (00:24 +0000)]
* config/tc-a29k.h: Fix comment typos.
* config/tc-alpha.c: Likewise.
* config/tc-alpha.h: Likewise.
* config/tc-arc.c: Likewise.
* config/tc-arm.c: Likewise.
* config/tc-arm.h: Likewise.
* config/tc-cris.c: Likewise.
* config/tc-d10v.c: Likewise.
* config/tc-d30v.c: Likewise.
* config/tc-dlx.c: Likewise.
* config/tc-dlx.h: Likewise.

20 years agodaily update
Alan Modra [Thu, 20 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
DJ Delorie [Thu, 20 Nov 2003 20:08:20 +0000 (20:08 +0000)]
* config/tc-sh64.c (shmedia_frob_section): Only frob elf32
sections.

20 years ago* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
Jim Blandy [Thu, 20 Nov 2003 18:42:21 +0000 (18:42 +0000)]
* cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.

20 years ago * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
Martin Schwidefsky [Thu, 20 Nov 2003 09:54:07 +0000 (09:54 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
section for reloc output and subtract the output section's address
from the addend when converting a relocation into one against a
section symbol.
* elf64-s390.c (elf_s390_relocate_section): Likewise.

20 years ago * config/tc-h8300.c: Make some functions and global
Kazu Hirata [Thu, 20 Nov 2003 04:25:26 +0000 (04:25 +0000)]
* config/tc-h8300.c: Make some functions and global
variables static appropriately.

20 years ago * config/obj-ieee.c: Remove duplicate prototypes.
Kazu Hirata [Thu, 20 Nov 2003 04:12:19 +0000 (04:12 +0000)]
* config/obj-ieee.c: Remove duplicate prototypes.
* config/tc-h8300.c: Likewise.

20 years ago * config/tc-h8300.c: Convert to ISO-C.
Kazu Hirata [Thu, 20 Nov 2003 03:31:36 +0000 (03:31 +0000)]
* config/tc-h8300.c: Convert to ISO-C.
* config/tc-h8300.h: Likewise.

20 years ago * config/tc-mcore.h: Remove prototypes already in tc.h.
Kazu Hirata [Thu, 20 Nov 2003 03:11:18 +0000 (03:11 +0000)]
* config/tc-mcore.h: Remove prototypes already in tc.h.
* config/tc-tic4x.c: Likewise.

20 years agomerge from gcc
DJ Delorie [Thu, 20 Nov 2003 02:01:32 +0000 (02:01 +0000)]
merge from gcc

20 years ago * config/tc-arc.c: Remove a local prototype of atof_ieee.
Kazu Hirata [Thu, 20 Nov 2003 01:36:49 +0000 (01:36 +0000)]
* config/tc-arc.c: Remove a local prototype of atof_ieee.
* config/tc-ip2k.c: Likewise.
* config/tc-iq2000.c: Likewise.
* config/tc-tic30.c: Remove a comment.

20 years ago * config/obj-aout.h: Fix comment typos.
Kazu Hirata [Thu, 20 Nov 2003 00:01:55 +0000 (00:01 +0000)]
* config/obj-aout.h: Fix comment typos.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.c: Likewise.
* config/obj-ieee.c: Likewise.
* config/obj-som.c: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.

20 years ago * config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
Bob Wilson [Wed, 19 Nov 2003 23:55:06 +0000 (23:55 +0000)]
* config/tc-xtensa.c (xg_emit_insn): Include "dwarf2dbg.h" and add
call to dwarf2_emit_insn.

20 years agodaily update
Alan Modra [Wed, 19 Nov 2003 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
DJ Delorie [Wed, 19 Nov 2003 19:56:22 +0000 (19:56 +0000)]
* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.
* Makefile.in: Regenerate.

20 years ago * h8300-dis.c (print_colon_thingie): Remove.
Kazu Hirata [Wed, 19 Nov 2003 19:44:58 +0000 (19:44 +0000)]
* h8300-dis.c (print_colon_thingie): Remove.

20 years agomerge from gcc
DJ Delorie [Wed, 19 Nov 2003 16:19:14 +0000 (16:19 +0000)]
merge from gcc

20 years ago * objdump.c: Wrap long lines, init vars separately from decl.
Alan Modra [Wed, 19 Nov 2003 08:21:14 +0000 (08:21 +0000)]
* objdump.c: Wrap long lines, init vars separately from decl.
(disassemble_section): Reset require_sec after call to
find_symbol_for_address.

20 years ago * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.
Alan Modra [Wed, 19 Nov 2003 03:46:08 +0000 (03:46 +0000)]
* ld-powerpc/tlsexe32.d: Update for changed symbols from objdump.
* ld-powerpc/tlsso32.d: Likewise.

20 years agoFix IA-64 linker failure reported by Andreas Schwab.
Jim Wilson [Wed, 19 Nov 2003 02:40:55 +0000 (02:40 +0000)]
Fix IA-64 linker failure reported by Andreas Schwab.
* ldlang.c (lang_process): Move lang_reset_memory_regions call after
lang_do_assignments call.

20 years agoFix -pie core dump with .rela.opd section.
Jim Wilson [Wed, 19 Nov 2003 01:06:13 +0000 (01:06 +0000)]
Fix -pie core dump  with .rela.opd section.
bfd/ChangeLog
* elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
(elfNN_ia64_size_dynamic_sections): When stripping sections, check
for ia64_info->rel_fptr_sec.
ld/ChangeLog
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.

20 years agodaily update
Alan Modra [Tue, 18 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
Maciej W. Rozycki [Tue, 18 Nov 2003 21:22:57 +0000 (21:22 +0000)]
* config/tc-mips.c (macro): Handle new macros: "lca" and "dlca"
for loading addresses using CALL relocations.
Don't emit CALL relocations when a base register is used.

* gas/mips/lca-svr4pic.d: New test for the "lca" macro.
* gas/mips/lca-xgot.d: Likewise.
* gas/mips/lca.s: Source for the new tests.
* gas/mips/mips.exp: Run the new tests.

* opcode/mips.h: Define new enum members, M_LCA_AB and M_DLCA_AB.

* mips-opc.c (mips_builtin_opcodes): Handle new macros: "lca" and
"dlca".

20 years agomerge from gcc
DJ Delorie [Tue, 18 Nov 2003 19:10:05 +0000 (19:10 +0000)]
merge from gcc

20 years ago * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
Alan Modra [Tue, 18 Nov 2003 04:14:15 +0000 (04:14 +0000)]
* elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
size is zero.

20 years agodaily update
Alan Modra [Mon, 17 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * elf.c (_bfd_elf_link_hash_copy_indirect): Copy
Daniel Jacobowitz [Mon, 17 Nov 2003 21:31:11 +0000 (21:31 +0000)]
* elf.c (_bfd_elf_link_hash_copy_indirect): Copy
ELF_LINK_HASH_NEEDS_PLT.  Fix formatting.
* elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
* elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
* elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
* elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
* elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
(elf_backend_copy_indirect_symbol): Don't define.

20 years agodaily update
Alan Modra [Sun, 16 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* config/tc-mips.c: Formatting fixes.
Maciej W. Rozycki [Sat, 15 Nov 2003 15:57:14 +0000 (15:57 +0000)]
* config/tc-mips.c: Formatting fixes.

20 years ago * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
Daniel Jacobowitz [Fri, 14 Nov 2003 16:05:13 +0000 (16:05 +0000)]
* elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
GOT entries.

20 years agoAdd new field to disassemble_info structure: symbol_is_valid() and use it to
Nick Clifton [Fri, 14 Nov 2003 15:12:44 +0000 (15:12 +0000)]
Add new field to disassemble_info structure: symbol_is_valid() and use it to
skip displaying arm elf mapping symbols in disassembly output.

20 years agoFix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.
Martin Schwidefsky [Fri, 14 Nov 2003 09:25:00 +0000 (09:25 +0000)]
Fix typo in ChangeLog entry: s/R_390_RELAVITE/R_390_RELATIVE/.

20 years agooops - oomitted during previous commit
Nick Clifton [Fri, 14 Nov 2003 08:21:02 +0000 (08:21 +0000)]
oops - oomitted during previous commit

20 years ago * config/tc-arm.c (arm_elf_change_section): Not static.
Ben Elliston [Fri, 14 Nov 2003 06:55:21 +0000 (06:55 +0000)]
* config/tc-arm.c (arm_elf_change_section): Not static.

20 years agoEmit a warning when an archive is created (only shown with -v) in order to
Nick Clifton [Thu, 13 Nov 2003 16:01:52 +0000 (16:01 +0000)]
Emit a warning when an archive is created (only shown with -v) in order to
confrom to POSIX specification.

20 years ago * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
Martin Schwidefsky [Thu, 13 Nov 2003 15:56:50 +0000 (15:56 +0000)]
* elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
to R_390_RELAVITE. Convert the other relocations against local
symbols to relocations against the start of the section.
* elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64
to R_390_RELAVITE. Convert the other relocations against local
symbols to relocations against the start of the section.

20 years agoAdd support for ARM ELF Mapping symbols
Nick Clifton [Thu, 13 Nov 2003 14:19:01 +0000 (14:19 +0000)]
Add support for ARM ELF Mapping symbols

20 years ago * Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
Daniel Jacobowitz [Wed, 12 Nov 2003 17:15:38 +0000 (17:15 +0000)]
* Makefile.am (install, install-info, RECURSIVE_TARGETS): Define.
* doc/Makefile.am (install-info): Define.

* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

20 years agodaily update
Alan Modra [Tue, 11 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoAdd new feature to objcopy/strip. The -w switch allows wildcards to be used
Nick Clifton [Tue, 11 Nov 2003 17:50:26 +0000 (17:50 +0000)]
Add new feature to objcopy/strip.  The -w switch allows wildcards to be used
in symbol names.

20 years agoFix decision about when a .interp section should exist
Nick Clifton [Tue, 11 Nov 2003 13:32:38 +0000 (13:32 +0000)]
Fix decision about when a .interp section should exist

20 years agoAdd support for arm-wince-pe target.
Nick Clifton [Tue, 11 Nov 2003 12:05:08 +0000 (12:05 +0000)]
Add support for arm-wince-pe target.

20 years ago2003-11-11 Jan Hubicka <jh@suse.cz>
Andreas Jaeger [Tue, 11 Nov 2003 09:30:48 +0000 (09:30 +0000)]
2003-11-11  Jan Hubicka  <jh@suse.cz>

* config/tc-i386.c (tc_i386_fix_adjustable):

20 years ago * objdump.c: Revert rev 1.81 commit.
Alan Modra [Tue, 11 Nov 2003 01:57:04 +0000 (01:57 +0000)]
* objdump.c: Revert rev 1.81 commit.

20 years agodaily update
Alan Modra [Mon, 10 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years agoRemove "member" from verbose output of "-dv" in order to conform to POSIX
Nick Clifton [Mon, 10 Nov 2003 17:28:33 +0000 (17:28 +0000)]
Remove "member" from verbose output of "-dv" in order to conform to POSIX
specification.

20 years agoAdd initial support for TLS sections in PE format files.
Nick Clifton [Mon, 10 Nov 2003 17:04:55 +0000 (17:04 +0000)]
Add initial support for TLS sections in PE format files.

20 years ago * config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.
Alan Modra [Mon, 10 Nov 2003 03:07:52 +0000 (03:07 +0000)]
* config/tc-ia64.c (ia64_handle_align): Remove bogus be_nop.

20 years agoExpand and consolidate bug reporting details.
Alan Modra [Mon, 10 Nov 2003 03:06:05 +0000 (03:06 +0000)]
Expand and consolidate bug reporting details.

20 years agodaily update
Alan Modra [Sun, 9 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * configure.host (HOSTING_LIBS): Group libgcc and libc with
Alan Modra [Sun, 9 Nov 2003 13:24:45 +0000 (13:24 +0000)]
* configure.host (HOSTING_LIBS): Group libgcc and libc with
--start-group, --end-group pair.
(*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS.
(am33_2.0-*-linux*): Edit default HOSTING_CRT0.
(arm*-*-linux-gnu*): Remove extraneous '*' in sed expression.
(hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case.

20 years agodaily update
Alan Modra [Sat, 8 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agodaily update
Alan Modra [Fri, 7 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2003-11-07 Christian Groessler <chris@groessler.org>
Christian Groessler [Fri, 7 Nov 2003 20:43:15 +0000 (20:43 +0000)]
2003-11-07  Christian Groessler  <chris@groessler.org>

* doc/c-z8k.texi: Document command-line options.  Fix byte
register names.  Document '.z8001' and '.z8002' directives.
Extend addressing modes documentation.

20 years agoUse consistent error messages for missing files.
Nick Clifton [Fri, 7 Nov 2003 12:19:34 +0000 (12:19 +0000)]
Use consistent error messages for missing files.
Detect directories where an ordinary file is expected.

20 years agodaily update
Alan Modra [Thu, 6 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
Nick Clifton [Thu, 6 Nov 2003 15:30:05 +0000 (15:30 +0000)]
* config/tc-arm.texi (struct reg_entry): Add new field 'builtin'.
  (rn_table, iwmmxt_table, cp_table, cn_table, fn_table, sn_table,
  dn_table, mav_mvf_table, mac_mvd_table, mav_mvfx_table,
  mav_mvax_table, mav_dspc_table): Initialise new field.
  (insert_reg_alias): Initialise new field.
  (md_pseudo_table): Add "unreq" entry.
  (s_unreq): New function: Undo the effects of a previous .req.
* doc/c-arm.texi: Document new pseudo op.
* NEWS: Mention new feature.
* testsuite/gas/arm/req.s: New test file.  Check .req and .unreq psuedo ops.
* testsuite/gas/arm/req.l: Expected error output from req.s test.
* testsuite/gas/arm/copro.d: Set target architecture for objdump so that the
  test will work on architectures which cannot encode higher arm architecture
  types in their file headers.
* testsuite/gas/arm/arm.exp: Run new req.s test.
  Skip thumb instruction test for PE targets which do not support
  thumb relocations.
* testsuite/gas/elf/elf.exp: Skip special handling of section2 test for XScale
  targets - it is no longer needed.

20 years ago * elf32-ppc.c (ppc_elf_install_value): Delete.
Alan Modra [Thu, 6 Nov 2003 14:30:11 +0000 (14:30 +0000)]
* elf32-ppc.c (ppc_elf_install_value): Delete.
(shared_stub_entry, stub_entry): Make them arrays of ints.
Remove initial branch.
(ppc_elf_relax_section): Write one branch around all trampolines
instead.  Correct bogus R_PPC_PLTREL24 handling.  Correct
branch range check.  Only use shared_stub_entry when shared.
Test that branches can reach stubs.  Write trampolines out at
end so that just one realloc is used.  Handle little-endian
mode.  Move relevant code from ppc_elf_install_value to here.
(ppc_elf_relocate_section): Move code handling RELAX32 from
ppc_elf_install_value to here.

20 years agoFix 'the the' typo
Nick Clifton [Thu, 6 Nov 2003 11:58:58 +0000 (11:58 +0000)]
Fix 'the the' typo

20 years ago2003-11-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 6 Nov 2003 04:32:07 +0000 (04:32 +0000)]
2003-11-05  H.J. Lu  <hongjiu.lu@intel.com>

* m68k-opc.c (m68k_opcodes): Reorder "fmovel".

20 years ago * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
Alan Modra [Thu, 6 Nov 2003 02:58:40 +0000 (02:58 +0000)]
* elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
(ppc_elf_install_value): Handle R_PPC_RELAX32PC.  Merge duplicate
cases.
(shared_stub_entry): Correct opcode.
(ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs.
(ppc_elf_relocate_section): Handle them.

20 years ago * ppc.h (R_PPC_RELAX32PC): Define.
Alan Modra [Thu, 6 Nov 2003 02:57:08 +0000 (02:57 +0000)]
* ppc.h (R_PPC_RELAX32PC): Define.

20 years agodaily update
Alan Modra [Wed, 5 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return
Alan Modra [Wed, 5 Nov 2003 13:17:09 +0000 (13:17 +0000)]
* elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return
updated section in case of merged section.
* elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration.
* elf-hppa.h (elf_hppa_relocate_section): Adjust call.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section) Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.

* elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol
section for reloc output.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.

* elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything
for R_PPC_RELAX32 reloc.  Don't bother checking ppc_elf_install_value
return value.
* elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check
sec->id.

20 years ago * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.
Alan Modra [Wed, 5 Nov 2003 01:23:55 +0000 (01:23 +0000)]
* elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.
(elf32_d10v_relocate_section): Use them to handle -r reloc
adjustments, and in place of _bfd_elf_rela_local_sym.

20 years ago2003-11-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Nov 2003 01:14:25 +0000 (01:14 +0000)]
2003-11-04  H.J. Lu  <hongjiu.lu@intel.com>

* gas/m68k/mcf-mov3q.d: Support 64bit BFD.

20 years ago * cpu-iq2000.c (arch_info_struct): Warning fix.
Alan Modra [Tue, 4 Nov 2003 23:58:06 +0000 (23:58 +0000)]
* cpu-iq2000.c (arch_info_struct): Warning fix.

20 years ago * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
Alan Modra [Tue, 4 Nov 2003 23:52:58 +0000 (23:52 +0000)]
* elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
(elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
weakdefs.
(elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS.
(elf32_hppa_adjust_dynamic_symbol): Likewise.  Copy weakdef
NON_GOT_REF.
(allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL.  Discard relocs for undef weak syms with
non-default visibility.
(elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and
SYMBOL_CALLS_LOCAL.

20 years ago * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
Alan Modra [Tue, 4 Nov 2003 23:36:21 +0000 (23:36 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do
pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined.
(pr_sym): Move inside #ifdef DLL_SUPPORT.

20 years ago * config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.
Alan Modra [Tue, 4 Nov 2003 23:35:54 +0000 (23:35 +0000)]
* config/tc-ppc.h (TC_FORCE_RELOCATION): Only define for ELF and XCOFF.

20 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
Alan Modra [Tue, 4 Nov 2003 23:11:23 +0000 (23:11 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap
unused variable.

20 years ago * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.
Alan Modra [Tue, 4 Nov 2003 23:08:03 +0000 (23:08 +0000)]
* emulparams/elf32_i860.sh (TEXT_START_ADDR): Define.

20 years agodaily update
Alan Modra [Tue, 4 Nov 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.
Alan Modra [Tue, 4 Nov 2003 11:30:54 +0000 (11:30 +0000)]
* aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.
* coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto.
* coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto.
* cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto.
* cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto.
* gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto.
* nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.

20 years ago * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix
Alan Modra [Tue, 4 Nov 2003 10:45:54 +0000 (10:45 +0000)]
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix
"dereferencing type-punned pointer" warnings.

20 years ago * aout-adobe.c (aout_adobe_set_section_contents): Constify location.
Alan Modra [Tue, 4 Nov 2003 10:41:52 +0000 (10:41 +0000)]
* aout-adobe.c (aout_adobe_set_section_contents): Constify location.
* aoutx.h (NAME(aout,set_section_contents)): Ditto.
* bfd-in2.h: Regenerate.
* binary.c (binary_set_section_contents): Ditto.
* bout.c (b_out_set_section_contents): Ditto.
* coff-tic54x.c (tic54x_set_section_contents): Ditto.
* coffcode.h (coff_set_section_contents): Ditto.
* ecoff.c (_bfd_ecoff_set_section_contents): Ditto.
* elf-bfd.h (_bfd_elf_set_section_contents): Ditto.
* elf.c (_bfd_elf_set_section_contents): Ditto.
* elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto.
* elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto.
* i386msdos.c (msdos_set_section_contents): Ditto.
* ieee.c (ieee_set_section_contents): Ditto.
* ihex.c (ihex_set_section_contents): Ditto.
* libaout.h (NAME(aout,set_section_contents)): Ditto.
* libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto.
(_bfd_generic_set_section_contents): Ditto.
* libbfd.h: Regenerate.
* libbfd.c (_bfd_generic_set_section_contents): Ditto.
* libecoff.h (_bfd_ecoff_set_section_contents): Ditto.
* libnlm.h (nlmNAME(set_section_contents)): Ditto.
(struct nlm_backend_data <nlm_mangle_relocs>): Ditto.
* mmo.c (mmo_set_section_contents): Ditto.
* nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto.
* nlm32-i386.c (nlm_i386_mangle_relocs): Ditto.
* nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto.
* nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto.
* nlmcode.h (nlm_set_section_contents): Ditto.
* oasys.c (oasys_set_section_contents): Ditto.
* pdp11.c (NAME(aout,set_section_contents)): Ditto.
* ppcboot.c (ppcboot_set_section_contents): Ditto.
* srec.c (srec_set_section_contents): Ditto.
* targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto.
* tekhex.c (tekhex_set_section_contents): Ditto.
(move_section_contents): Ditto.
* versados.c (versados_set_section_contents): Ditto.
* vms-misc.c (_bfd_save_vms_section): Ditto.
* vms.c (vms_set_section_contents): Ditto.
* vms.h (_bfd_save_vms_section): Ditto.

20 years ago * elf64-ppc.c (ppc_size_one_stub): Size relbrlt. Accept info arg
Alan Modra [Tue, 4 Nov 2003 08:51:36 +0000 (08:51 +0000)]
* elf64-ppc.c (ppc_size_one_stub): Size relbrlt.  Accept info arg
rather than htab.
(ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal.  Zero
relbrlt size.
(ppc64_elf_build_stubs): Allocate space for relbrlt.

20 years ago * bfd-in.h (_bfd_elf_tls_setup): Declare.
Alan Modra [Tue, 4 Nov 2003 06:16:39 +0000 (06:16 +0000)]
* bfd-in.h (_bfd_elf_tls_setup): Declare.
* bfd-in2.h: Regenerate.
* elf-bfd.h (struct elf_link_tls_segment): Delete.
(struct elf_link_hash_table): Add tls_sec and tls_size.
* elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size.
* elflink.c (_bfd_elf_tls_setup): New function.
* elflink.h (struct elf_final_link_info): Remove first_tls_sec.
(elf_bfd_final_link): Don't set first_tls_sec here.  Update code
saving tls segment info, round segment size up.
(elf_link_output_extsym): Adjust code using tls segment info.
(elf_link_input_bfd): Likewise.
* elf32-i386.c (dtpoff_base, tpoff): Likewise.
* elf32-s390.c (dtpoff_base, tpoff): Likewise.
* elf32-sh.c (dtpoff_base, tpoff): Likewise.
* elf32-sparc.c (dtpoff_base, tpoff): Likewise.
* elf64-s390.c (dtpoff_base, tpoff): Likewise.
* elf64-x86-64.c (dtpoff_base, tpoff): Likewise.
* elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise.
(elfNN_ia64_dtprel_base): Likewise.
* elf64-alpha.c (alpha_get_dtprel_base): Likewise.
(alpha_get_tprel_base): Likewise.
(struct alpha_relax_info): Remove tls_segment.
(elf64_alpha_relax_got_load): Adjust invocation of
alpha_get_dtprel_base and alpha_get_tprel_base.
(elf64_alpha_relax_tls_get_addr): Likewise.
(elf64_alpha_relax_section): Likewise.
(elf64_alpha_relocate_section): Likewise.
(elf64_alpha_relax_find_tls_segment): Delete.
* elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec.
(ppc_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
(ppc_elf_relocate_section): Adjust to use elf.tls_sec.
* elf32-ppc.h (ppc_elf_tls_setup): Update.
* elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec.
(ppc64_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
(ppc64_elf_tls_optimize): Adjust to use elf.tls_sec.
(ppc64_elf_relocate_section): Likewise.
* elf64-ppc.h (ppc64_elf_tls_setup): Update.

* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
_bfd_elf_tls_setup.

20 years agodaily update
Alan Modra [Mon, 3 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * elf-bfd.h (struct elf_backend_data): Remove plt_header_size.
Daniel Jacobowitz [Mon, 3 Nov 2003 15:17:40 +0000 (15:17 +0000)]
* elf-bfd.h (struct elf_backend_data): Remove plt_header_size.
* elf-m10300.c (elf_backend_plt_header_size): Don't define.
* elf32-arm.h (elf_backend_plt_header_size): Don't define.
* elf32-cris.c (elf_backend_plt_header_size): Don't define.
* elf32-i386.c (elf_backend_plt_header_size): Don't define.
* elf32-mips.c (elf_backend_plt_header_size): Don't define.
* elf32-ppc.c (elf_backend_plt_header_size): Don't define.
* elf32-s390.c (elf_backend_plt_header_size): Don't define.
* elf32-sh.c (elf_backend_plt_header_size): Don't define.
* elf32-sparc.c (elf_backend_plt_header_size): Don't define.
* elf64-alpha.c (elf_backend_plt_header_size): Don't define.
* elf64-hppa.c (elf_backend_plt_header_size): Don't define.
* elf64-mips.c (elf_backend_plt_header_size): Don't define.
* elf64-ppc.c (elf_backend_plt_header_size): Don't define.
* elf64-s390.c (elf_backend_plt_header_size): Don't define.
* elf64-sh64.c (elf_backend_plt_header_size): Don't define.
* elf64-sparc.c (elf_backend_plt_header_size): Don't define.
* elf64-x86-64.c (elf_backend_plt_header_size): Don't define.
* elfn32-mips.c (elf_backend_plt_header_size): Don't define.
* elfxx-ia64.c (elf_backend_plt_header_size): Don't define.
* elfxx-target.h (elf_backend_plt_header_size): Don't define
or include in target initializer.

20 years ago * gas/arm/arm7t.d: Replace '-#' with '#-'.
Daniel Jacobowitz [Mon, 3 Nov 2003 14:47:37 +0000 (14:47 +0000)]
* gas/arm/arm7t.d: Replace '-#' with '#-'.
* gas/arm/copro.d: Likewise.
* gas/arm/fpa-mem.d: Likewise.
* gas/arm/maverick.c: Likewise.
* gas/arm/maverick.d: Likewise.
* gas/arm/vfp1.d: Likewise.
* gas/arm/vfp1xD.d: Likewise.
* gas/arm/xscale.d: Likewise.