OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years agodaily update
Alan Modra [Wed, 29 Sep 2004 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago* emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
Christopher Faylor [Tue, 28 Sep 2004 19:14:29 +0000 (19:14 +0000)]
* emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
emulparams/i386pe_posix.sh, emulparams/mcorepe.sh, emulparams/mipspe.sh,
emulparams/ppcpe.sh, scripttempl/pe.sc: Define TARGET_PAGE_SIZE.
* scripttempl/pe.sc: Make the virtual address and file offset synced if the
alignment is lower than the target page size.

19 years agoReoder functions to eliminate most of the static function prototypes.
Nick Clifton [Tue, 28 Sep 2004 16:26:39 +0000 (16:26 +0000)]
Reoder functions to eliminate most of the static function prototypes.

19 years ago* emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
Christopher Faylor [Tue, 28 Sep 2004 15:00:45 +0000 (15:00 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
def_file_parse to handle pe_def_file if NULL and prevent crash with invalid
.def files.

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

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

19 years ago * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
Alan Modra [Sun, 26 Sep 2004 23:42:30 +0000 (23:42 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
--emit-stub-syms automatically when --emit-relocs.

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

19 years agoMerge from gcc:
DJ Delorie [Sat, 25 Sep 2004 00:26:33 +0000 (00:26 +0000)]
Merge from gcc:
2004-09-24  Zack Weinberg  <zack@codesourcery.com>
* warnings.m4: New file.

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

19 years agoMerge from gcc
DJ Delorie [Fri, 24 Sep 2004 14:57:15 +0000 (14:57 +0000)]
Merge from gcc

19 years ago * ylwrap: Revert to previous version.
DJ Delorie [Fri, 24 Sep 2004 13:21:46 +0000 (13:21 +0000)]
 * ylwrap: Revert to previous version.

19 years ago * scripttempl/elf.sc: Keep .preinit_array, .init_array and
Paul Brook [Fri, 24 Sep 2004 11:43:34 +0000 (11:43 +0000)]
* scripttempl/elf.sc: Keep .preinit_array, .init_array and
.fini_array sections.

19 years agobfd/
Alan Modra [Fri, 24 Sep 2004 07:07:22 +0000 (07:07 +0000)]
bfd/
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Add output section
vma and output offset to address.
* simple.c (simple_save_output_info): Only set output section
and offset for debug sections, or those not already set up by
the linker.
(bfd_simple_get_relocated_section_contents): Update comment.
ld/testsuite/
* ld-elfvsb/elfvsb.exp: Remove file name from "undefined ref" string.

19 years ago * elf.c (IS_LOADED): Delete.
Alan Modra [Fri, 24 Sep 2004 03:13:01 +0000 (03:13 +0000)]
* elf.c (IS_LOADED): Delete.
(assign_file_positions_for_segments): Just test SEC_LOAD instead.
Restore SEC_HAS_CONTENTS test to the one place it was used prior
to 2004-09-22.

19 years ago2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Sep 2004 00:40:22 +0000 (00:40 +0000)]
2004-09-23  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@.
(HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export
SET_GCC_LIB_PATH_CMD.
(BASE_TARGET_EXPORTS): Likewise.
* Makefile.in: Regenerated.

* configure.in (SET_GCC_LIB_PATH): Set and substitute.
* configure: Regenerated.

config/

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

* gcc-lib-path.m4: New file.

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

19 years agoMerge from gcc
DJ Delorie [Thu, 23 Sep 2004 20:15:24 +0000 (20:15 +0000)]
Merge from gcc
2004-09-23  Kelley Cook  <kcook@gcc.gnu.org>
* config.guess: New upstream version
* compile, depcomp, install-sh, ylwrap: Likewise.

19 years agoMerge from gcc:
DJ Delorie [Thu, 23 Sep 2004 19:54:49 +0000 (19:54 +0000)]
Merge from gcc:
2004-09-23  Kelley Cook  <kcook@gcc.gnu.org>
* config.guess: New upstream version
* compile, depcomp, install-sh, ylwrap: Likewise.

2004-09-19  Roger Sayle  <roger@eyesopen.com>
* config/mh-x86omitfp: New host makefile fragment.  Add
-fomit-frame-pointer to the default BOOT_CFLAGS.
* configure.in: Use it to speed up bootstrap on some IA-32 hosts.
* configure: Regenerate.

2004-09-15  Andrew Pinski  <pinskia@physics.uc.edu>
PR target/11572
* configure.in (*-*-darwin*): Renable libobjc.
* configure: Regenerate.

19 years agoMerge from gcc
DJ Delorie [Thu, 23 Sep 2004 19:43:47 +0000 (19:43 +0000)]
Merge from gcc
2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
* gettext-sister.m4: Renamed from gettext.m4
* codeset.m4, gettext.m4, glibc21.m4, iconv.m4, intdiv0.m4, po.m4,
inttypes.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lib-ld.m4,
lib-link.m4, lib-prefix.m4, nls.m4, progtest.m4, stdint_h.m4,
uintmax_t.m4, ulonglong.m4: Import from gettext-0.12.1 sources.

19 years ago PR gas/396
Alan Modra [Thu, 23 Sep 2004 00:51:33 +0000 (00:51 +0000)]
PR gas/396
* elf32-sparc.c (elf32_sparc_final_write_processing): Handle
bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite.  Remove
redundant assignment of EM_SPARC.

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

19 years ago* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
Brian Ford [Wed, 22 Sep 2004 22:40:21 +0000 (22:40 +0000)]
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
alignment for .rdata sections so sse[2] code works with gcc >= 3.3.3
constants.
* pe-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.

19 years agobinutils/
Alan Modra [Wed, 22 Sep 2004 07:24:14 +0000 (07:24 +0000)]
binutils/
* readelf.c (process_program_headers): Don't include .tbss in non-TLS
segments.

ld/testsuite/
* ld-i386/tlsbin.rd: Update for changed segment map.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sh/tlsbin-2.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.

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.