OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
19 years ago * elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
Eric Botcazou [Sun, 9 Jan 2005 09:26:55 +0000 (09:26 +0000)]
* elf32-sparc.c (elf32_sparc_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.
* elf64-sparc.c (sparc64_elf_omit_section_dynsym): New function.
(elf_backend_omit_section_dynsym): Define to it.

19 years agodaily update
Alan Modra [Sat, 8 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 7 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
Jakub Jelinek [Fri, 7 Jan 2005 09:52:00 +0000 (09:52 +0000)]
* bfd/elf.c (INCLUDE_SECTION_IN_SEGMENT): Don't put empty sections into
PT_DYNAMIC segment, unless .dynamic.

19 years agodaily update
Alan Modra [Thu, 6 Jan 2005 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
Eric Botcazou [Thu, 6 Jan 2005 18:05:17 +0000 (18:05 +0000)]
* configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
(sparc64-sun-solaris2*): New host.

19 years ago2005-01-06 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 6 Jan 2005 16:18:25 +0000 (16:18 +0000)]
2005-01-06  Paul Brook  <paul@codesourcery.com>

bfd/
* config.bfd: Add entry for arm-*-vxworks and arm-*-windiss.
* configure.in: Add bfd_elf32_{big,little}arm_vxworks_vec.
* configure: Regenerate.
* elf32-arm.c: Add VxWorks target bfd.
(USE_REL): Remove.
(elf32_arm_link_hash_table): Add use_rel.
(elf32_arm_link_hash_table_create, elf32_arm_final_link_relocate,
elf32_arm_relocate_section): Replace USE_REL with runtime check.
Correct offset calculation for RELA case.
(elf_backend_may_use_rel_p, elf_backend_may_use_rela_p,
elf_backend_default_use_rela_p, elf_backend_rela_normal): Define.
(elf32_arm_vxworks_link_hash_table_create): New function.
* targets.c (bfd_elf32_bigarm_vxworks_vec): Add declaration.
(bfd_elf32_littlearm_vxworks_vec): Ditto.
(_bfd_target_vector): Add bfd_elf32_{big,little}arm_vxworks_vec.
gas/
* config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
(md_begin): Handle TE_VXWORKS for FP defaults.
(md_apply_fix3): Correct rela offsets.
(elf32_arm_target_format): Add VxWorks targets.
ld/
* Makefie.am: Add earmelf_vxworks.
* Makefile.in: Regenerate.
* configure.tgt: Make arm-*-vxworks a separate case.
* emulparams/armelf_vxworks.sh: New function.

19 years ago * configure.tgt: Set em=vxworks for *-*-vxworks.
Paul Brook [Thu, 6 Jan 2005 16:17:25 +0000 (16:17 +0000)]
* configure.tgt: Set em=vxworks for *-*-vxworks.
* config/te-vxworks.h: New File.

19 years ago * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
Paul Brook [Thu, 6 Jan 2005 15:30:57 +0000 (15:30 +0000)]
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.

19 years agobfd/
Alan Modra [Thu, 6 Jan 2005 09:03:56 +0000 (09:03 +0000)]
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add no_multi_toc and
multi_toc_needed.
(has_toc_reloc, makes_toc_func_call, call_check_in_progress): Define.
(ppc64_elf_check_relocs): Update references to has_gp_reloc.
(ppc64_elf_setup_section_lists): Add no_multi_toc parm, set htab bit.
(ppc64_elf_next_toc_section): Heed no_multi_toc.
(ppc64_elf_reinit_toc): Set multi_toc_needed.
(toc_adjusting_stub_needed): Rewrite.
(ppc64_elf_next_input_section): Use multi_toc_needed to shortcut
toc tests.  Adjust for toc_adjusting_stub_needed changes.
(ppc64_elf_size_stubs): Update references to has_gp_reloc.
* elf64-ppc.h (ppc64_elf_setup_section_lists): Update prototype.
* section.c: Expand comment on backend bits.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
ld/
* emultempl/ppc64elf.em (no_multi_toc): New var.
(gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
(OPTION_NO_MULTI_TOC): Define.
(PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.

19 years ago * elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
Alan Modra [Thu, 6 Jan 2005 08:41:05 +0000 (08:41 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
toc adjusting stub, do not test source section flags.

19 years agodaily update
Alan Modra [Wed, 5 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 17:29:41 +0000 (17:29 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display base address
specifiers.  Always output <End of list>.

19 years ago2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 5 Jan 2005 16:15:47 +0000 (16:15 +0000)]
2005-01-05  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (have_frame_base): New.
(need_base_address): Likewise.
(saved_base_address): Likewise.
(decode_location_expression): Return 1 if DW_AT_frame_base is
needed.
(debug_info): Add base_address and a have_frame_base pointer.
(read_and_display_attr_value): Replace saved_DW_AT_low_pc with
saved_base_address. Record base address. Set have_frame_base.
Record if a location list has DW_AT_frame_base. Display if a
location expression has no DW_AT_frame_base but needs one. Set
saved_base_address only if needed.
(process_debug_info): Clear have_frame_base, saved_base_address
and set need_base_address.
(display_debug_loc): Display if a location expression has no
DW_AT_frame_base but needs one. Display if start >= end. Don't
adjust for section address. Properly handle base address.
(process_object): Free the have_frame_base pointer in
debug_info.

19 years agoPR binutils/614
Nick Clifton [Wed, 5 Jan 2005 16:03:23 +0000 (16:03 +0000)]
PR binutils/614
* ldmisc.c (vfinfo): Alter output to conform to the GNU Coding Standard's
specification for parsable error messages.

19 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
Eric Botcazou [Wed, 5 Jan 2005 15:24:56 +0000 (15:24 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
from STABS debugging sections again.

19 years ago * gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].
Eric Botcazou [Wed, 5 Jan 2005 13:38:39 +0000 (13:38 +0000)]
* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].

19 years agoApproved by nickc@redhat.com:
Fred Fish [Wed, 5 Jan 2005 10:37:05 +0000 (10:37 +0000)]
Approved by nickc@redhat.com:

2005-01-05  Fred Fish  <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member.
(find_abstract_instance_name): New function.
(scan_unit_for_functions): Handle DW_TAG_inlined_subroutine.
(scan_unit_for_functions): Handle DW_AT_abstract_origin.
(_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit.

19 years ago2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 Jan 2005 23:37:18 +0000 (23:37 +0000)]
2005-01-04  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (display_debug_loc): Display offsets for hole and
overlap.
(display_debug_str): Add a newline at the end.

19 years agodaily update
Alan Modra [Tue, 4 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago(oops - forogot to update the year in the copyright notice)
Nick Clifton [Tue, 4 Jan 2005 15:51:47 +0000 (15:51 +0000)]
(oops - forogot to update the year in the copyright notice)

19 years agoPR binutils/630
Nick Clifton [Tue, 4 Jan 2005 15:47:38 +0000 (15:47 +0000)]
PR binutils/630
* nlmconv.c (main): Only store the basename of the output filename in the
module table.

19 years ago * Makefile.am: Correct dependency for earmsymbian.c.
Paul Brook [Tue, 4 Jan 2005 15:16:25 +0000 (15:16 +0000)]
* Makefile.am: Correct dependency for earmsymbian.c.
* Makefile.in: Regenerate.

19 years agoBZ 615
Nick Clifton [Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)]
BZ 615
* readelf.c (process_debug_info): New.
(debug_info): Add num_loc_offsets, loc_offsets and
last_loc_offset_p.
(get_debug_info): Use process_debug_info.
(display_debug_loc): Properly handle location list. Warn if bad
location lists are encoutnered.
(read_and_process_attr_value): New.
(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
(display_debug_info): Use process_debug_info.
(process_object): Also free loc_offsets in debug_information.

19 years ago(md_apply_fix3): Fix offset calculation for global label.
Nick Clifton [Tue, 4 Jan 2005 10:20:36 +0000 (10:20 +0000)]
(md_apply_fix3): Fix offset calculation for global label.

19 years agoAdd prototype for printf() and make type of "string" array be "char" in
Nick Clifton [Tue, 4 Jan 2005 10:13:02 +0000 (10:13 +0000)]
Add prototype for printf() and make type of "string" array be "char" in
order to avoid compile time warnings.

19 years agoLine number bug fix patch from David Mosberger.
Jim Wilson [Tue, 4 Jan 2005 05:42:42 +0000 (05:42 +0000)]
Line number bug fix patch from David Mosberger.
* config/tc-ia64.c (md): Add member "loc_directive_seen".
(dot_loc): New function.
(md_pseudo_table): Add entry to map .loc to dot_loc().
(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
seen a .loc directive or we're generating DWARF2 debug info for
assembly source.

19 years agodaily update
Alan Modra [Mon, 3 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03  Paolo Bonzini  <bonzini@gnu.org>

Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.

19 years agodaily update
Alan Modra [Sun, 2 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Sat, 1 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agodaily update
Alan Modra [Fri, 31 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
Paul Brook [Fri, 31 Dec 2004 16:22:25 +0000 (16:22 +0000)]
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.

19 years ago * reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Alan Modra [Fri, 31 Dec 2004 00:43:58 +0000 (00:43 +0000)]
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Commit missing changes from 2004-12-22.
* bfd-in2.h: Regenerate.

19 years agodaily update
Alan Modra [Thu, 30 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago * gas/elf/elf.exp: Don't list reloc sections.
Alan Modra [Thu, 30 Dec 2004 22:41:31 +0000 (22:41 +0000)]
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.

19 years ago * binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Alan Modra [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 +0000)]
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.

19 years ago * objdump.c (remove_useless_symbols): Discard section symbols.
Alan Modra [Thu, 30 Dec 2004 22:33:20 +0000 (22:33 +0000)]
* objdump.c (remove_useless_symbols): Discard section symbols.

19 years agodaily update
Alan Modra [Wed, 29 Dec 2004 23:00:38 +0000 (23:00 +0000)]
daily update

19 years ago PR gas/619
Alan Modra [Wed, 29 Dec 2004 10:21:58 +0000 (10:21 +0000)]
PR gas/619
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.

19 years ago * emultempl/pe.em (set_pe_subsystem): Change second arg to
Danny Smith [Wed, 29 Dec 2004 05:59:29 +0000 (05:59 +0000)]
* emultempl/pe.em (set_pe_subsystem): Change second arg to
lang_add_entry to FALSE.

19 years agodaily update
Alan Modra [Tue, 28 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-28 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Tue, 28 Dec 2004 17:39:43 +0000 (17:39 +0000)]
2004-12-28  Paolo Bonzini  <bonzini@gnu.org>

PR bootstrap/17383

* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include.  BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.

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

19 years agoRevert 2004-12-08 Makefile changes.
DJ Delorie [Mon, 27 Dec 2004 21:41:05 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.

19 years agomerge from gcc
DJ Delorie [Mon, 27 Dec 2004 21:39:28 +0000 (21:39 +0000)]
merge from gcc

19 years ago2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 27 Dec 2004 19:08:31 +0000 (19:08 +0000)]
2004-12-27  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (read_leb128): Support 64bit host.

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

19 years agodaily update
Alan Modra [Sat, 25 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
Marek Michalkiewicz [Sat, 25 Dec 2004 20:34:24 +0000 (20:34 +0000)]
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.

19 years agodaily update
Alan Modra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
daily update

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

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:52:11 +0000 (13:52 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:50:36 +0000 (13:50 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).

19 years ago2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Thu, 23 Dec 2004 13:48:25 +0000 (13:48 +0000)]
2004-12-23  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.

19 years agoPR 600
Nick Clifton [Thu, 23 Dec 2004 12:27:45 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.

19 years agodaily update
Alan Modra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago * configure.tgt: New.
Ian Lance Taylor [Wed, 22 Dec 2004 15:29:25 +0000 (15:29 +0000)]
* configure.tgt: New.
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.

19 years ago* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Kris Warkentin [Wed, 22 Dec 2004 14:43:44 +0000 (14:43 +0000)]
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Add 'base' argument for constructing register sections.  Reformat.
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
gp and fp regs.  Reformat.

19 years agoAdd support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
Nick Clifton [Wed, 22 Dec 2004 14:25:42 +0000 (14:25 +0000)]
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
LDI, ADIW/SBIW and LDD/STD instructions.

19 years agoreadelf.c (last_pointer_size, warned_about_missing_comp_units):
Nick Clifton [Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)]
readelf.c (last_pointer_size, warned_about_missing_comp_units):
  New variables associated with obtaining the pointer size for a comp_unit.
  (get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
  section requesting the pointer size.  Use this name in error messages.  If
  there are not enough comp_units available produce a warning message, but
  return the last known pointer size so that section dumping can continue.
  (get_debug_info): Reset the new variables.
  (display_debug_lines): Add extra parameter to invocation of
  get_pointer_size_of_comp_unit and remove error message when it returns 0.
  (display_debug_loc): Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Wed, 22 Dec 2004 08:14:38 +0000 (08:14 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* ld-crx/reloc-abs32.d: Update reference file according
to disassembler printing method.
  * ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.

19 years ago * elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
Alan Modra [Wed, 22 Dec 2004 03:59:26 +0000 (03:59 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
as-needed dynamic libs as undefined.
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
libs when finding they are needed.

19 years agodaily update
Alan Modra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:28:40 +0000 (16:28 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* ld-crx/reloc-abs32.d: Update reference file according to disassembler printing method.
  * ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:26:54 +0000 (16:26 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.

19 years ago2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 21 Dec 2004 16:25:05 +0000 (16:25 +0000)]
2004-12-21  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.

19 years ago * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
Hans-Peter Nilsson [Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.

19 years ago * cris.cpu (cris-set-mem): Correct integral write semantics.
Hans-Peter Nilsson [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.

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

19 years ago * Makefile.am: Use $(SHELL) whenever we run move-if-change.
Ian Lance Taylor [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.

19 years ago* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
Nick Clifton [Mon, 20 Dec 2004 15:35:53 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.

19 years agoIssue an error message if -static and -shared are used together.
Nick Clifton [Mon, 20 Dec 2004 15:16:06 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.

19 years agomerge from gcc
DJ Delorie [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc

19 years ago * elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
Alan Modra [Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done.  Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.

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

19 years agodaily update
Alan Modra [Sat, 18 Dec 2004 23:00:11 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Sat, 18 Dec 2004 17:19:27 +0000 (17:19 +0000)]
merge from gcc

19 years ago2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 18 Dec 2004 16:46:03 +0000 (16:46 +0000)]
2004-12-18  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in (top_builddir): Set to `.'.
(OUTPUT_OPTION): Removed.
(LIBTOOL): New.
(LTLIBOBJS): New.
(EXTRA_LTOFILES): New.
(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
(all): Remove stamp-picdir.
(LTCOMPILE): New.
(.c.lo): New rule.
(REQUIRED_LTOFILES): New.
(CONFIGURED_LTOFILES): New.
($(TARGETLIB)): Check .libs for PIC object files. Depend on
$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
(stamp-picdir): Completely removed.
(maint-missing): Pass $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
$(CONFIGURED_OFILES)
(maint-buildall): Depend on $(REQUIRED_LTOFILES)
$(CONFIGURED_LTOFILES).
(mostlyclean): Also remove *.lo .libs.
Run "make maint-deps".

* aclocal.m4: Include ../libtool.m4.

* config.table: Don't check --enable-shared.

* configure.ac (AC_PROG_LIBTOOL): Add.
(AC_PROG_CC_C_O): Removed.
(OUTPUT_OPTION): Removed.
(NO_MINUS_C_MINUS_O): Removed.
(ltpexecute): New substitute.
(LIBOBJS): Cleanup.
* configure: Regenerated.

* maint-tool: Updated for .lo/libtool.

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

19 years ago * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
Jakub Jelinek [Fri, 17 Dec 2004 15:50:02 +0000 (15:50 +0000)]
* ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
* ldexp.c (fold_binary) <case DATA_SEGMENT_ALIGN>: Initialize them.
* ldlang.c (lang_size_sections): Use them to avoid wasting virtual
address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
PT_GNU_RELRO segment end.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Fri, 17 Dec 2004 12:47:44 +0000 (12:47 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.

* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.

19 years agodaily update
Alan Modra [Thu, 16 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 19:51:28 +0000 (19:51 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* configure.in (sh64-*-*): Reenable gprof.
* configure: Regenerate.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 18:23:24 +0000 (18:23 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
than just ignoring bad code.

19 years ago2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
Joern Rennecke [Thu, 16 Dec 2004 18:17:04 +0000 (18:17 +0000)]
2004-12-16  Andrew Stubbs  <andrew.stubbs@st.com>

* config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
BFD_RELOC_SH_IMMS10BY8 relocation.

19 years agoinclude/elf/
Richard Sandiford [Thu, 16 Dec 2004 16:56:04 +0000 (16:56 +0000)]
include/elf/
* v850.h (R_V850_LO16_SPLIT_OFFSET): New reloc.

bfd/
* reloc.c (BFD_RELOC_V850_LO16_SPLIT_OFFSET): New bfd_reloc_code_type.
* elf32-v850.c (v850_elf_howto_table): Add entry for
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_reloc_map): Map it to BFD_RELOC_V850_LO16_SPLIT_OFFSET.
(v850_elf_perform_lo16_relocation): New function, extracted from...
(v850_elf_perform_relocation): ...here.  Use it to handle
R_V850_LO16_SPLIT_OFFSET.
(v850_elf_check_relocs, v850_elf_final_link_relocate): Handle
R_V850_LO16_SPLIT_OFFSET.
* libbfd.h, bfd-in2.h: Regenerate.

gas/
* config/tc-v850.c (handle_lo16): New function.
(v850_reloc_prefix): Use it to check lo().
(md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.

gas/testsuite/
* gas/v850/split-lo16.{s,d}: New test.
* gas/v850/v850.exp: Run it.

ld/testsuite/
* ld-v850: New directory.

19 years agoAdd support for s390x-ibm-tpf target
Nick Clifton [Thu, 16 Dec 2004 16:02:59 +0000 (16:02 +0000)]
Add support for s390x-ibm-tpf target

19 years ago* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.
Nick Clifton [Thu, 16 Dec 2004 15:40:36 +0000 (15:40 +0000)]
* ldmisc.c (vfinfo): Handle the case where %B is passed a NULL BFD.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 13:23:22 +0000 (13:23 +0000)]
gas/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* config/obj-elf.c (obj_elf_change_section): Only set type and
attributes on new sections. Emit warning when type of re-declared
section doesn't match.

gas/testsuite/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* gas/elf/section5.[els]: New.

19 years agobinutils/
Jan Beulich [Thu, 16 Dec 2004 13:16:33 +0000 (13:16 +0000)]
binutils/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* doc/binutils.texi: Document --strip-unneeded-symbol and
--strip-unneeded-symbols.
* objcopy.c (strip_unneeded_list): New.
(enum command_line_switch): Add OPTION_STRIP_UNNEEDED_SYMBOL
and OPTION_STRIP_UNNEEDED_SYMBOLS.
(copy_options): Add  --strip-unneeded-symbol and
--strip-unneeded-symbols.
(copy_usage): Likewise.
(filter_symbols): Suppress copying of symbol if in strip_unneeded_list
and the symbol is not needed.
(copy_main): Handle OPTION_STRIP_UNNEEDED_SYMBOL and
OPTION_STRIP_UNNEEDED_SYMBOLS.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 08:57:23 +0000 (08:57 +0000)]
gas/
2004-12-15 Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
'.cfi_startproc simple' doesn't inherit the old value.

19 years agogas/
Jan Beulich [Thu, 16 Dec 2004 08:53:43 +0000 (08:53 +0000)]
gas/
2004-12-15  Jan Beulich  <jbeulich@novell.com>

* dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
generation to emit a factored offset.

19 years agodaily update
Alan Modra [Wed, 15 Dec 2004 23:00:13 +0000 (23:00 +0000)]
daily update

19 years ago * callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.
Hans-Peter Nilsson [Wed, 15 Dec 2004 01:24:15 +0000 (01:24 +0000)]
* callback.h (CB_SYS_truncate, CB_SYS_ftruncate): New macros.

19 years agodaily update
Alan Modra [Tue, 14 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years agoAdded printing of symbols on AVR disasm
Svein Seldal [Tue, 14 Dec 2004 22:30:28 +0000 (22:30 +0000)]
Added printing of symbols on AVR disasm

19 years agoAdded printing of symbols on AVR disasm
Svein Seldal [Tue, 14 Dec 2004 22:27:05 +0000 (22:27 +0000)]
Added printing of symbols on AVR disasm

19 years ago2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 14 Dec 2004 15:38:04 +0000 (15:38 +0000)]
2004-12-14  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *'
to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.

19 years ago2004-12-14 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Tue, 14 Dec 2004 15:36:23 +0000 (15:36 +0000)]
2004-12-14  Tomer Levi  <Tomer.Levi@nsc.com>

* elf32-crx.c (elf32_crx_relax_delete_bytes): Add 'struct bfd_link_info *' to prototype, to make hash info available.
Prevent wrapped symbols from being adjusted twice.