OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago * elf32-ppc.c (ppc_elf_modify_segment_map): Delete.
Alan Modra [Wed, 22 Sep 2004 06:57:35 +0000 (06:57 +0000)]
* elf32-ppc.c (ppc_elf_modify_segment_map): Delete.
(elf_backend_modify_segment_map): Don't define.

19 years agobfd/
Alan Modra [Wed, 22 Sep 2004 06:45:39 +0000 (06:45 +0000)]
bfd/
* elf.c (IS_LOADED): Define.
(assign_file_positions_for_segments): Don't round up file offset of
PT_LOAD segments containing no SEC_LOAD sections, instead round down.
Delete code handling link script adjustment of lma.  Do the adjust
in later code handling similar ajustments.  Remove dead code error
check.  Warn if section lma would require a negative offset
adjustment.  Tweak lma adjustment to use p_filesz rather than p_memsz.
Use p_vaddr + p_memsz inside section loop in place of voff.  Don't
update voff in section loop.  Change voff in segment loop to be an
adjustment on top of "off".  Set sec->filepos and update "off" later.
Test for loadable sections consistently using IS_LOADED.  Similarly,
test for alloc-only sections other than .tbss consistently.
Don't bother checking SEC_ALLOC in PT_LOAD segments.  Remove FIXME.
Tidy PT_NOTE handling.  Use %B and %A in error messages.
(assign_file_positions_except_relocs): Use %B in error message.

ld/testsuite/
* ld-scripts/overlay-size.d: Don't check .mbss lma.
* ld-sh/sh64/mix1.xd: Update for changed .bss file offset.
* ld-sh/sh64/shdl32.xd: Likewise.
* ld-sh/sh64/shdl64.xd: Likewise.

19 years agodaily update
Alan Modra [Wed, 22 Sep 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years agoFix error in unwind info for psp relative offsets.
Jim Wilson [Tue, 21 Sep 2004 21:39:27 +0000 (21:39 +0000)]
Fix error in unwind info for psp relative offsets.
* config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
(output_rp_psprel, output_pfs_psprel, output_preds_psprel,
output_spill_base, output_unat_psprel, output_lc_psprel,
output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
output_spill_psprel_p): Use it.

19 years agodaily update
Alan Modra [Tue, 21 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoconfig/tc-crx.c (handle_LoadStor): New function. Handle load/stor unique instructions...
Tomer Levi [Mon, 20 Sep 2004 14:30:21 +0000 (14:30 +0000)]
config/tc-crx.c (handle_LoadStor): New function. Handle load/stor unique instructions before parsing.

19 years agoHandle load/stor unique instructions before parsing
Tomer Levi [Mon, 20 Sep 2004 14:25:36 +0000 (14:25 +0000)]
Handle load/stor unique instructions before parsing

19 years agodaily update
Alan Modra [Mon, 20 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * gas/elf/elf.exp: Recognise additional arm elf targets.
Paul Brook [Sun, 19 Sep 2004 22:51:04 +0000 (22:51 +0000)]
* gas/elf/elf.exp: Recognise additional arm elf targets.

19 years ago2004-09-19 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 19 Sep 2004 22:32:12 +0000 (22:32 +0000)]
2004-09-19  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
(bfd.info): Rename the target to ...
($(srcdir)/bfd.info): This.
* Makefile.in: Regenerated.

19 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
Andreas Schwab [Sun, 19 Sep 2004 17:09:23 +0000 (17:09 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
base so that relro end is suitably aligned.

19 years agodaily update
Alan Modra [Sun, 19 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 18 Sep 2004 00:00:08 +0000 (00:00 +0000)]
daily update

19 years agobfd/
H.J. Lu [Fri, 17 Sep 2004 17:04:34 +0000 (17:04 +0000)]
bfd/

2004-09-17  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
(CONFIG_STATUS_DEPENDENCIES): New.
(Makefile): Removed.
(config.status): Likewise.
* Makefile.in: Regenerated.

opcodes/

2004-09-17  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
(CONFIG_STATUS_DEPENDENCIES): New.
(Makefile): Removed.
(config.status): Likewise.
* Makefile.in: Regenerated.

19 years agobfd/
Paul Brook [Fri, 17 Sep 2004 12:35:00 +0000 (12:35 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype.
(bfd_elf32_arm_process_before_allocation): Update prototype.
* bfd-in2.h: Regenerate.
* bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc.
(elf32_arm_link_hash_table_create): Set it.
(bfd_elf32_arm_process_before_allocation): Remove target1_is_rel.
(bfd_elf32_arm_set_target_relocs): New function.
(arm_real_reloc_type): New function.
(elf32_arm_final_link_relocate): Use it.  Handle R_ARM_PREL31 and
R_ARM_GOT_PREL.  Remove R_ARM_TARGET1.
(elf32_arm_gc_sweep_hook): Ditto.
(elf32_arm_check_relocs): Ditto.
(elf32_arm_relocate_section): Handle R_ARM_GOT_PREL.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and
R_ARM_GOT_TARGET2.
(elf32_arm_got_prel): New variable.
(elf32_arm_howto_from_type): New function.
(elf32_arm_info_to_howto): Use it.
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and
BFD_RELOC_ARM_TARGET2.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31.
gas/
* config/tc-arm.c (s_arm_rel31): New funciton.
(md_pseudo_table): Add .rel31.
(md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
(arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
(arm_parse_reloc): Add (target2).
gas/testsuite/
* gas/arm/pic.s: Add (target2).
* gas/arm/pic.d: Ditto.
include/
* elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL,
R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX.
ld/
* ld.texinfo: Rename arm-specific section.  Document --target*
* emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
* emulparams/armelf_linux.sh: Ditto.
* emulparams/armelf_nbsd.sh: Ditto.
* emultempl/armelf.em: Set default for TARGET2_TYPE.
(target2_type): New variable.
(arm_elf_before_allocation): Don't pass target1_type.
(arm_elf_create_output_section_statements): New function.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
* emultempl/armelf_oabi.em (_before_allocation): Remove extra
argument to bfd_elf32_arm_process_before_allocation.
ld/testsuite/
* ld-arm/arm-target1-{abs,rel}.d}: New files.
* ld-arm/arm-target1.s: New file.
* ld-arm/arm-target2-{,got-}rel.d: New files.
* ld-arm/arm-target2.s: New file.
* ld-arm/arm-rel31.d: New files.
* ld-arm/arm-rel31.s: New files.
* ld-arm/arm.ld: New file.
* ld-arm/arm-elf.exp: Add new tests.

19 years agoinclude/
Alan Modra [Fri, 17 Sep 2004 07:14:33 +0000 (07:14 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements
of union.
bfd/
* ecoff.c: Update u.undef.next refs.
* elf64-ppc.c: Likewise.
* elflink.c: Likewise.
* linker.c: Likewise.
* xcofflink.c: Likewise.
ld/
* ldexp.c (fold_name): Update u.undef.next refs.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.

bfd/
* elf-bfd.h (struct elf_link_hash_entry): Rearrange.  Add FIXME to
dynamic_def.  Combine weakdef and elf_hash_value.  Move vtable
fields to indirect struct.
* elf-m10300.c: Update u.weakdef refs.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elflink.c: Likewise.  Also u.elf_hash_value.
(elf_gc_propagate_vtable_entries_used): Update for h->vtable
indirection.
(elf_gc_smash_unused_vtentry_relocs): Likewise.
(bfd_elf_gc_record_vtinherit): Alloc vtable.
(bfd_elf_gc_record_vtentry): Likewise.
* elf.c (_bfd_elf_link_hash_newfunc): Use memset.

19 years ago * aclocal.m4: Regenerate.
Alan Modra [Fri, 17 Sep 2004 06:24:38 +0000 (06:24 +0000)]
* aclocal.m4: Regenerate.

19 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 17 Sep 2004 06:23:17 +0000 (06:23 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* po/binutils.pot: Regenerate.

19 years ago * Makefile.in: Regenerate.
Alan Modra [Fri, 17 Sep 2004 06:19:28 +0000 (06:19 +0000)]
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* po/gprof.pot: Regenerate.

19 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 17 Sep 2004 06:17:47 +0000 (06:17 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
* po/gas.pot: Regenerate.

19 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 17 Sep 2004 06:15:39 +0000 (06:15 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* aclocal.m4: Regenerate.
* po/ld.pot: Regenerate.

19 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 17 Sep 2004 06:13:39 +0000 (06:13 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/opcodes.pot: Regenerate.

19 years ago * Makefile.in: Regenerate.
Alan Modra [Fri, 17 Sep 2004 06:12:02 +0000 (06:12 +0000)]
* Makefile.in: Regenerate.

19 years ago * Makefile.am: Run "make dep-am".
Alan Modra [Fri, 17 Sep 2004 06:08:06 +0000 (06:08 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.

19 years agodaily update
Alan Modra [Fri, 17 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoAdd KEEP for certain section's *personality*
Tomer Levi [Thu, 16 Sep 2004 16:27:00 +0000 (16:27 +0000)]
Add KEEP for certain section's *personality*

19 years ago * elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags
Alan Modra [Thu, 16 Sep 2004 14:52:12 +0000 (14:52 +0000)]
* elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags
with bitfields.  Make "type" and "other" bitfields too.
(ELF_LINK_HASH_REF_REGULAR, ELF_LINK_HASH_DEF_REGULAR,
ELF_LINK_HASH_REF_DYNAMIC, ELF_LINK_HASH_DEF_DYNAMIC,
ELF_LINK_HASH_REF_REGULAR_NONWEAK, ELF_LINK_HASH_DYNAMIC_ADJUSTED,
ELF_LINK_HASH_NEEDS_COPY, ELF_LINK_HASH_NEEDS_PLT, ELF_LINK_NON_ELF,
ELF_LINK_HIDDEN, ELF_LINK_FORCED_LOCAL, ELF_LINK_HASH_MARK,
ELF_LINK_NON_GOT_REF, ELF_LINK_DYNAMIC_DEF, ELF_LINK_DYNAMIC_WEAK,
ELF_LINK_POINTER_EQUALITY_NEEDED): Delete.
(ELF_COMMON_DEF_P, WILL_CALL_FINISH_DYNAMIC_SYMBOL): Update.
* elf-hppa.h: Update all uses of elf_link_hash_flags.
* elf-m10300.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh-symbian.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* configure.in (AM_INIT_AUTOMAKE): Set version to 2.15.92.
* configure: Regenerate.
* aclocal.m4: Regenerate.

19 years agobfd/
Alan Modra [Thu, 16 Sep 2004 12:49:56 +0000 (12:49 +0000)]
bfd/
* elf32-arm.h (elf32_arm_gc_sweep_hook): Add #ifndef OLD_ARM_ABI
around uses of R_ARM_TARGET1.
(elf32_arm_check_relocs): Likewise.
ld/
* emultempl/armelf_oabi.em (before_allocation): Add extra zero param
to bfd_elf32_arm_process_before_allocation call.

19 years agodaily update
Alan Modra [Thu, 16 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Wed, 15 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
Hans-Peter Nilsson [Tue, 14 Sep 2004 20:00:26 +0000 (20:00 +0000)]
* config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
[!LLONG_MAX]: Ditto.

19 years agomerge from gcc
DJ Delorie [Tue, 14 Sep 2004 01:16:22 +0000 (01:16 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Tue, 14 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agobfd/
Paul Brook [Mon, 13 Sep 2004 14:14:32 +0000 (14:14 +0000)]
bfd/
* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
prototype.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel.
(elf32_arm_link_hash_table_create): Set target1_is_rel.
(bfd_elf32_arm_process_before_allocation): Ditto.
(elf32_arm_final_link_relocate): Handle R_ARM_TARGET1.
(elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
* elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1.
* reloc.c: Ditto.
gas/
* config/tc-arm.c: Rename RELABS to TARGET1.
gas/testsuite/
* gas/arm/pic.d: Rename RELABS to TARGET1.
* gas/arm/pic.s: Ditto.
include/
* elf/arm.h: Rename RELABS to TARGET1.
ld/
* emulparams/armsymbian.sh: Set TARGET1_IS_REL.
* emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.

19 years ago * hpux-core.c (thread_section_p): New function.
Joel Brobecker [Mon, 13 Sep 2004 03:51:22 +0000 (03:51 +0000)]
    * hpux-core.c (thread_section_p): New function.
        (hpux_core_core_file_p): Fix computation of offset in call
        to bfd_seek. Create a ".reg" section from an arbitrary
        ".reg/<id>" section if none was created after having read
        all sections.

19 years ago * messages.c (as_internal_value_out_of_range): Cast values passed
Alan Modra [Mon, 13 Sep 2004 00:49:16 +0000 (00:49 +0000)]
* messages.c (as_internal_value_out_of_range): Cast values passed
to as_bad_where or as_warn_where to proper type.

19 years agodaily update
Alan Modra [Mon, 13 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * readelf.c (decode_location_expression): Sign extend value for
Alan Modra [Sun, 12 Sep 2004 05:52:44 +0000 (05:52 +0000)]
* readelf.c (decode_location_expression): Sign extend value for
DW_OP_const1s, DW_OP_const2s, DW_OP_const4s, DW_OP_bra, DW_OP_skip.

19 years agodaily update
Alan Modra [Sun, 12 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agobfd/:
Andreas Schwab [Sat, 11 Sep 2004 20:22:51 +0000 (20:22 +0000)]
bfd/:
* acinclude.m4: Fix spelling of ACX_NONCANONICAL_*.
* aclocal.m4: Rebuild.
* configure: Rebuild.

opcodes/:
* configure: Rebuild.

19 years ago * gas/config/tc-avr.c: Add support for
Marek Michalkiewicz [Sat, 11 Sep 2004 13:15:05 +0000 (13:15 +0000)]
* gas/config/tc-avr.c: Add support for
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.

* include/opcode/avr.h: Add support for
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.

19 years agodaily update
Alan Modra [Sat, 11 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * section.c (bfd_sections_find_if): Fix parameter name in
Joel Brobecker [Fri, 10 Sep 2004 21:16:27 +0000 (21:16 +0000)]
    * section.c (bfd_sections_find_if): Fix parameter name in
        comment to match code.

19 years ago2004-08-31 Robert Bowdidge <bowdidge@apple.com>
DJ Delorie [Fri, 10 Sep 2004 17:49:29 +0000 (17:49 +0000)]
2004-08-31  Robert Bowdidge <bowdidge@apple.com>
* mh-ppc-darwin: Add file, and override BOOT_CFLAGS.

19 years ago2004-09-09 Daniel Berlin <dberlin@dberlin.org>
Daniel Berlin [Fri, 10 Sep 2004 02:19:35 +0000 (02:19 +0000)]
2004-09-09  Daniel Berlin  <dberlin@dberlin.org>

* Makefile.def: Remove libbanshee.
* Makefile.tpl: Ditto.
* configure.in: Ditto.
* Makefile.in: Regen.
* configure: Ditto.

19 years ago * elf.c (assign_file_positions_except_relocs): Assign relocs
Alan Modra [Fri, 10 Sep 2004 00:27:10 +0000 (00:27 +0000)]
* elf.c  (assign_file_positions_except_relocs): Assign relocs
stored in a bfd section.

19 years agodaily update
Alan Modra [Fri, 10 Sep 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * dw2gencfi.c (select_cie_for_fde): When separating CIE out
Alan Modra [Thu, 9 Sep 2004 13:32:46 +0000 (13:32 +0000)]
* dw2gencfi.c (select_cie_for_fde): When separating CIE out
from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.

19 years agoopcodes/
Alan Modra [Thu, 9 Sep 2004 12:42:37 +0000 (12:42 +0000)]
opcodes/
* ppc-opc.c (L): Make this field not optional.
include/opcode/
* ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.

19 years agoPR 363
Nick Clifton [Thu, 9 Sep 2004 11:52:41 +0000 (11:52 +0000)]
PR 363
* ar.c (replace_members): Do not use get_file_size as ar_emul_append correctly
handles missing files.

19 years agodaily update
Alan Modra [Thu, 9 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoFix typo last entry
Hans-Peter Nilsson [Wed, 8 Sep 2004 23:44:28 +0000 (23:44 +0000)]
Fix typo last entry

19 years agomerge from gcc
DJ Delorie [Wed, 8 Sep 2004 22:01:25 +0000 (22:01 +0000)]
merge from gcc

19 years ago * config/obj-elf.c (obj_elf_section_type): Handle init_array,
Paul Brook [Wed, 8 Sep 2004 20:52:49 +0000 (20:52 +0000)]
* config/obj-elf.c (obj_elf_section_type): Handle init_array,
fini_array and preinit_array section types.
* config/tc-ia64.c (ia64_elf_section_type): Remove init_array
and fini_array.
* doc/as.texinfo: Document extra section types.

19 years ago * sim-sh.h: Add new sh2a banked registers.
Corinna Vinschen [Wed, 8 Sep 2004 09:03:42 +0000 (09:03 +0000)]
* sim-sh.h: Add new sh2a banked registers.

19 years agodaily update
Alan Modra [Wed, 8 Sep 2004 00:00:14 +0000 (00:00 +0000)]
daily update

19 years ago * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset
Hans-Peter Nilsson [Tue, 7 Sep 2004 22:37:52 +0000 (22:37 +0000)]
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset
h->gotplt_refcount to 0, not -1.

19 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
Hans-Peter Nilsson [Tue, 7 Sep 2004 18:33:22 +0000 (18:33 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
case R_CRIS_32_GOTPLT>: For internal error message, handle NULL
symname.
(cris_elf_check_relocs) <case R_CRIS_32_PLT_PCREL>: Don't try to
handle symbol visibility here.

19 years ago * ld-cris/hiddef1.d, ld-cris/hiddef1.d, ld-cris/hidrefgotplt1.s:
Hans-Peter Nilsson [Tue, 7 Sep 2004 18:32:27 +0000 (18:32 +0000)]
* ld-cris/hiddef1.d, ld-cris/hiddef1.d, ld-cris/hidrefgotplt1.s:
New test.

19 years agobinutils/
H.J. Lu [Tue, 7 Sep 2004 17:00:59 +0000 (17:00 +0000)]
binutils/

2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated with autconfig 2.13.

ld/

2004-09-07  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated with autconfig 2.13.

19 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
Andreas Schwab [Tue, 7 Sep 2004 15:54:47 +0000 (15:54 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
alignment before adjusting DATA_SEGMENT_RELRO_END.

19 years ago * elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals.
Alan Modra [Tue, 7 Sep 2004 13:40:37 +0000 (13:40 +0000)]
* elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals.
(is_ppc64_elf_target): Rename from is_ppc64_target.  Update all
callers.
(ppc_stub_name): Remove trailing "+0" on stub name.
(create_linkage_sections): Create relocations for
branch lookup table when --emit-relocs as well as when --shared.
(ppc_build_one_stub): Emit relocs for long branch stubs.  Adjust
relbrlt test.  For --emit-stub-syms, always output a sym even when
one already exists on a plt call stub.  Put stub type in the stub
symbol name.
(ppc_size_one_stub): Size long branch stub relocs.  Adjust relbrlt
test.
(ppc64_elf_size_stubs): Count global sym stubs added.  Zero
reloc_count in stub sections.  Adjust relbrlt test.
(ppc64_elf_build_stubs): Adjust relbrlt test.  Tweak stats output.
* elflink.c (bfd_elf_size_dynamic_sections): Fix comment typo.
(elf_link_input_bfd): Ignore symbol index zero relocs when checking
for relocs against discarded symbols.  Fix comments.

19 years ago2004-09-07 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 7 Sep 2004 08:34:06 +0000 (08:34 +0000)]
2004-09-07  Paolo Bonzini  <bonzini@gnu.org>

* missing: Import latest version from master repository.

19 years agodaily update
Alan Modra [Tue, 7 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it.
Mark Mitchell [Mon, 6 Sep 2004 20:55:23 +0000 (20:55 +0000)]
* elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it.
* elf.c (_bfd_elf_make_dynamic_segment): New function, split out
from ...
(map_sections_to_segments): ... here.  Use it.  Assign a file
position to the .dynamic section if it is not loadable, but part
of the PT_DYNAMIC segment.
* elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
offsets, not VMAs, for the BPABI.  Do not fill in the header in
the .got.plt section for the BPABI.
* elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a
PT_DYNAMIC segment.
(elf_backend_want_got_plt): Define to zero for Symbian OS.

* emulparams/armsymbian.sh: Use armbpabi script.
* scripttempl/armbpabi.sc: New script.

19 years ago * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
Danny Smith [Mon, 6 Sep 2004 20:00:55 +0000 (20:00 +0000)]
    * doc/binutils.texi (dlltool): Update --add-underscore, --kill-at
        documentation.

19 years ago(elf_link_add_object_symbols): Set the error code to bfd_error_wrong_format when
Nick Clifton [Mon, 6 Sep 2004 17:24:32 +0000 (17:24 +0000)]
(elf_link_add_object_symbols): Set the error code to bfd_error_wrong_format when
the input format does not match the output format.

19 years ago * elf64-ppc.c (is_ppc64_target): New function, extracted from..
Alan Modra [Mon, 6 Sep 2004 12:37:12 +0000 (12:37 +0000)]
* elf64-ppc.c (is_ppc64_target): New function, extracted from..
(ppc64_elf_check_directives): ..here.
(ppc64_elf_size_dynamic_sections): Use it here to check bfd type
before accessing ppc64_elf_tdata.
(ppc64_elf_finish_dynamic_sections): And here too.

19 years agofix spelling typo in previous ChangeLog entry
Nick Clifton [Mon, 6 Sep 2004 08:09:08 +0000 (08:09 +0000)]
fix spelling typo in previous ChangeLog entry

19 years agoDocument that the -x switch includs the effect of the -p switch.
Nick Clifton [Mon, 6 Sep 2004 08:07:42 +0000 (08:07 +0000)]
Document that the -x switch includs the effect of the -p switch.

19 years agodaily update
Alan Modra [Mon, 6 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Sun, 5 Sep 2004 06:04:05 +0000 (06:04 +0000)]
merge from gcc

19 years agodaily update
Alan Modra [Sun, 5 Sep 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago Correct pasto in ChangeLog
Danny Smith [Sat, 4 Sep 2004 10:09:52 +0000 (10:09 +0000)]
Correct pasto in ChangeLog

19 years ago * dlltool.c (make_one_lib): Test if internal_name was specified
Danny Smith [Sat, 4 Sep 2004 10:08:11 +0000 (10:08 +0000)]
* dlltool.c (make_one_lib): Test if internal_name was specified
by user before using it.

19 years agoImport latest version from master repository.
Nick Clifton [Sat, 4 Sep 2004 07:53:54 +0000 (07:53 +0000)]
Import latest version from master repository.

19 years ago * bfd.c (_bfd_default_error_handler): Correct loop exit.
Alan Modra [Sat, 4 Sep 2004 01:30:21 +0000 (01:30 +0000)]
* bfd.c (_bfd_default_error_handler): Correct loop exit.

19 years agodaily update
Alan Modra [Sat, 4 Sep 2004 00:00:06 +0000 (00:00 +0000)]
daily update

19 years ago * configure.in: Remove target-libstdc++-v3 from noconfigdirs for
Richard Henderson [Fri, 3 Sep 2004 19:09:39 +0000 (19:09 +0000)]
    * configure.in: Remove target-libstdc++-v3 from noconfigdirs for
        *-*-netware, but add target-libmudflap.
        Consolidate *-*-netware targets (of which really only i?86 exists)
        into a single entry.
        * configure: Likewise.

19 years ago * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
Mark Mitchell [Fri, 3 Sep 2004 17:15:44 +0000 (17:15 +0000)]
* config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
* configure.in (bfd_elf32_bigarm_symbian_vec): Add it.
(bfd_elf32_littlearm_symbian_vec): Likewise.
* configure: Regenerated.
* elf-bfd.h (elf_backend_data): Add dynamic_sec_flags.
* elf32-arm.h (PLT_HEADER_SIZE): Do not define.
(PLT_ENTRY_SIZE): Likewise.
(bfd_vma_elf32_arm_symbian_plt_entry): New
variable.
(elf32_arm_link_hash_table): Add plt_header_size, plt_entry_size,
and symbian_p.
(create_got_section): Don't create sections when generating BPABI
objects.
(elf32_arm_create_dynamic_sections): Tidy.
(elf32_arm_link_hash_table_create): Set plt_header_size,
plt_entry_size, and symbian_p.
(elf32_arm_check_relocs): Do not mark .rel.dyn as loadable when
generating BPABI objects.
(allocate_dynrelocs): Use htab->plt_header_size, not
PLT_HEADER_SIZE.  Do not add to .got.plt when
generating BPABI objects.
(elf32_arm_finish_dynamic_symbol): Generate Symbian OS PLTs.
* elfarm-nabi.c: Add SymbianOS target vectors.
* elflink.c (_bfd_elf_create_got_section): Use dynamic_sec_flags.
(_bfd_elf_link_create_dynamic_sections): Likewise.
* elfxx-target.h (ELF_DYNAMIC_SEC_FLAGS): New macro.
(elfNN_bed): Use it.
* targets.c (bfd_elf32_bigarm_symbian_vec): New variable.
(bfd_elf32_littlearm_symbian_vec): Likewise.
(_bfd_target_vector): Add them.

* Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
* Makefile.in: Regenerated.
* configure.in: Set em for arm*-*-symbianelf*.
* configure: Regenerated.
* config/tc-arm.c (elf32_arm_target_format): Use Symbian target
vectors when appropriate.
* config/te-symbian.h: New file.

* Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
(earmsymbian.c): New target.
* configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* emulparams/armsymbian.sh: New file.

19 years agoAdd LD and GAS testsuites for CRX port.
Nick Clifton [Fri, 3 Sep 2004 14:31:41 +0000 (14:31 +0000)]
Add LD and GAS testsuites for CRX port.
Fix several crx bugs.

19 years agoPR 360
Nick Clifton [Fri, 3 Sep 2004 14:11:38 +0000 (14:11 +0000)]
PR 360
(handle_COMDAT): Replace abort with an warning message and allow the scan to
continue.

19 years ago2004-09-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 3 Sep 2004 06:53:15 +0000 (06:53 +0000)]
2004-09-03  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

19 years agodaily update
Alan Modra [Fri, 3 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years agoupdate Carlo Wood's name
Nick Clifton [Thu, 2 Sep 2004 17:27:43 +0000 (17:27 +0000)]
update Carlo Wood's name

19 years ago(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
Nick Clifton [Thu, 2 Sep 2004 15:55:36 +0000 (15:55 +0000)]
(make_one_lib_file): For IDATA6 take the name from exp->internal_name if it
is present.

19 years ago* MAINTAINERS: Add self as co-maintainer of FR-V.
Alexandre Oliva [Thu, 2 Sep 2004 08:25:06 +0000 (08:25 +0000)]
* MAINTAINERS: Add self as co-maintainer of FR-V.
* readelf.c (get_machine_flags): Print FR-V cpu types.

19 years ago2004-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 2 Sep 2004 07:04:53 +0000 (07:04 +0000)]
2004-09-02  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Do not enable multilibs for build-side libiberty.

19 years ago * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
Alan Modra [Thu, 2 Sep 2004 04:43:36 +0000 (04:43 +0000)]
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Use static_syms passed
in when reading relocs, not our sorted syms.  Remove unnecessary
var.

19 years agodaily update
Alan Modra [Thu, 2 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
Richard Earnshaw [Wed, 1 Sep 2004 16:34:29 +0000 (16:34 +0000)]
* doc/c-arm.texi (ARM Options): Document canonical names of CPUs.

19 years agoArgh! missing comma...
Richard Earnshaw [Wed, 1 Sep 2004 16:19:36 +0000 (16:19 +0000)]
Argh! missing comma...

19 years ago* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
Richard Earnshaw [Wed, 1 Sep 2004 16:16:44 +0000 (16:16 +0000)]
* tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
for synthesizable cores.

19 years ago2004-09-01 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 1 Sep 2004 07:48:07 +0000 (07:48 +0000)]
2004-09-01  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (sorry): Remove.
(clean-stage[+id+], clean-stage[+id+]-module): New targets.
(cleanstrap targets): Depend on distclean, not distclean-stage1.
(do-clean): Clean per-stage directories too.
(do-distclean): Run distclean-stage1 too.
(.NOTPARALLEL): Enable during toplevel bootstrap.
(stage[+id+]-bubble): Enable parallel execution during
the recursive invocation.
* Makefile.in: Regenerate.

Sync from gcc (moving the Makefile.in change to Makefile.tpl):

2004-08-31  Robert Bowdidge <bowdidge@apple.com>

* Makefile.in: Move BOOT_CFLAGS above host makefile fragment include.
* configure.in: add test for powerpc-*-darwin* to specify makefile frag
* configure: regenerate
* config/mh-ppc-darwin: create file, override BOOT_CFLAGS for
        -mdynamic-no-pic

19 years agodaily update
Alan Modra [Wed, 1 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago2004-08-31 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 31 Aug 2004 10:16:19 +0000 (10:16 +0000)]
2004-08-31  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.

19 years ago * elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.
Eric Botcazou [Tue, 31 Aug 2004 09:41:11 +0000 (09:41 +0000)]
* elf.c (special_sections): Add .gnu.linkonce.b modelled on .bss.

19 years agodaily update
Alan Modra [Tue, 31 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:59:50 +0000 (18:59 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in: Autoupdate to autoconf 2.59.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* configure: Rebuild with autoconf 2.59.
* Makefile.in: Rebuild with automake 1.4p6 (picking up
bfd changes for autoconf 2.59 on the way).
* config.in: Rebuild with autoheader 2.59.

19 years ago2004-08-30 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Mon, 30 Aug 2004 18:58:14 +0000 (18:58 +0000)]
2004-08-30  Nathanael Nerode  <neroden@gcc.gnu.org>

* acinclude.m4: Require AC_CANONICAL_TARGET, not AC_CANONICAL_SYSTEM.
Include ../config/acx.m4 and use ACX_NONCANONICAL_* where appropriate;
replace uses of *_alias with *_noncanonical.
* aclocal.m4: Rebuild with aclocal 1.4p6.
* Makefile.in: Rebuild with automake 1.4p6.
* doc/Makefile.in: Rebuild with automake 1.4p6.
* configure.in: Autoupdate with autoupdate 2.59.
* config.in: Regenerate with autoheader 2.59.
* configure: Regnerate with autoconf 2.59.