Paul Brook
4e7fd91e3e
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.
2005-01-06 16:18:25 +00:00
Paul Brook
ea3eed1500
* configure.tgt: Set em=vxworks for *-*-vxworks.
...
* config/te-vxworks.h: New File.
2005-01-06 16:17:25 +00:00
Paul Brook
5dc1606f1e
* config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
2005-01-06 15:30:57 +00:00
Alan Modra
4c52953f84
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.
2005-01-06 09:03:56 +00:00
Alan Modra
f03d65b413
* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
...
toc adjusting stub, do not test source section flags.
2005-01-06 08:41:05 +00:00
gdbadmin
30841583d6
*** empty log message ***
2005-01-06 00:00:32 +00:00
Alan Modra
36a969794b
daily update
2005-01-05 23:00:05 +00:00
Andreas Schwab
b33e851483
* ia64-tdep.c: Include "osabi.h".
...
(native_find_global_pointer): Delete.
(ia64_find_global_pointer): Renamed from
generic_elf_find_global_pointer.
(FIND_GLOBAL_POINTER): Delete. Change all users to call
ia64_find_global_pointer instead.
(ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
to ia64_linux_sigcontext_register_address and
ia64_linux_write_pc. Don't set tdep->find_global_pointer.
(_initialize_ia64_tdep): Call gdbarch_register instead of
deprecated register_gdbarch_init.
(struct gdbarch_tdep): Remove find_global_pointer field and move
to ...
* ia64-tdep.h (struct gdbarch_tdep): ... here.
(ia64_linux_sigcontext_register_address): Remove declaration.
(ia64_linux_getunwind_table): Likewise.
(ia64_linux_write_pc): Likewise.
* ia64-linux-tdep.c: Include "osabi.h".
(ia64_linux_sigcontext_register_address): Make static.
(ia64_linux_write_pc): Likewise.
(ia64_linux_init_abi): New.
(_initialize_ia64_linux_tdep): New.
* Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
$(osabi_h).
2005-01-05 22:51:47 +00:00
H.J. Lu
e54b12b779
2005-01-05 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (display_debug_loc): Display base address
specifiers. Always output <End of list>.
2005-01-05 17:29:41 +00:00
Kevin Buettner
0ea390ed3c
Eliminate ia64-aix-tdep.c.
2005-01-05 17:04:49 +00:00
H.J. Lu
b38c701560
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.
2005-01-05 16:15:47 +00:00
Nick Clifton
98d87ee709
PR binutils/614
...
* ldmisc.c (vfinfo): Alter output to conform to the GNU Coding Standard's
specification for parsable error messages.
2005-01-05 16:03:23 +00:00
Andrew Cagney
edefbb7cc7
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
...
Committed by Andrew Cagney.
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
* aix-thread.c (_initialize_aix_thread): Get rid of the
deprecated_add_show_from_set call.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* command.h (add_setshow_enum_cmd): Add arguments for returning
new list elements.
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
add_setshow_enum_cmd.
2005-01-05 15:43:50 +00:00
Eric Botcazou
8af139b3f9
* elf64-sparc.c (sparc64_elf_relocate_section): Ignore overflows
...
from STABS debugging sections again.
2005-01-05 15:24:56 +00:00
Eric Botcazou
845e9b5108
* gas/elf/elf.exp (section5): Use 0-9 instead of [:digit:].
2005-01-05 13:38:39 +00:00
Fred Fish
06f22d7e75
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.
2005-01-05 10:37:05 +00:00
gdbadmin
e5554049c9
*** empty log message ***
2005-01-05 00:00:06 +00:00
H.J. Lu
b0660586ab
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.
2005-01-04 23:37:18 +00:00
Alan Modra
80837d18f6
daily update
2005-01-04 23:00:05 +00:00
Mark Kettenis
34cf199453
* configure.host (ia64-*-aix*): Remove.
...
* configure.tgt (ia64-*-aix*): Remove.
* config/ia64/aix.mh: Remove file.
* config/ia64/aix.mt: Remove file.
* config/ia64/tm-aix.h: Remove file.
* ia64-aix-nat.c: Remove file.
* Makefile.in (ia64-aix-nat.o): Remove dependency.
2005-01-04 22:59:45 +00:00
Mark Kettenis
a260932f9d
* config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
...
Add back inf-ptrace.o.
2005-01-04 20:41:24 +00:00
Andrew Cagney
5ed102a11f
2005-01-04 Andrew Cagney <cagney@gnu.org>
...
* version.in: Change format from 6.3.50_2005-01-04-cvs to
6.3.50.20050104-cvs.
2005-01-04 19:50:04 +00:00
Andrew Cagney
53531fc112
2005-01-04 Andrew Cagney <cagney@gnu.org>
...
* gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD)
part of the version number.
2005-01-04 19:25:46 +00:00
Nick Clifton
98faa4ff6b
(oops - forogot to update the year in the copyright notice)
2005-01-04 15:51:47 +00:00
Nick Clifton
8b626bcf2c
PR binutils/630
...
* nlmconv.c (main): Only store the basename of the output filename in the
module table.
2005-01-04 15:47:38 +00:00
Paul Brook
5f81b918e0
* Makefile.am: Correct dependency for earmsymbian.c.
...
* Makefile.in: Regenerate.
2005-01-04 15:16:25 +00:00
Andreas Schwab
3a63c4b7c3
* breakpoint.c (break_command_1): Always free err_msg before
...
returning when an exception was caught.
2005-01-04 13:31:46 +00:00
Nick Clifton
5b18a4bc09
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.
2005-01-04 11:20:45 +00:00
Nick Clifton
18af0b39e6
(md_apply_fix3): Fix offset calculation for global label.
2005-01-04 10:20:36 +00:00
Nick Clifton
c9bc3b3d29
Add prototype for printf() and make type of "string" array be "char" in
...
order to avoid compile time warnings.
2005-01-04 10:13:02 +00:00
Jim Wilson
196e804018
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.
2005-01-04 05:42:42 +00:00
gdbadmin
54e7231f9e
*** empty log message ***
2005-01-04 00:00:05 +00:00
Andrew Cagney
151c5df673
2005.
2005-01-03 23:25:19 +00:00
Alan Modra
f8c6763531
daily update
2005-01-03 23:00:05 +00:00
Andreas Schwab
38edcf8ace
* Makefile.in (hw_com.o, hw_eeprom.o): Depend on
...
$(DEVICE_TABLE_H).
2005-01-03 15:34:19 +00:00
Paolo Bonzini
c50382e27e
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.
2005-01-03 14:02:25 +00:00
gdbadmin
57a2933e72
*** empty log message ***
2005-01-03 00:00:38 +00:00
Alan Modra
cbe32a9d91
daily update
2005-01-02 23:00:05 +00:00
gdbadmin
97fca46524
*** empty log message ***
2005-01-02 00:00:04 +00:00
Alan Modra
0161d54a92
daily update
2005-01-01 23:00:06 +00:00
Joel Brobecker
e22b26cbff
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
...
in register number for addil instruction.
2005-01-01 12:28:21 +00:00
gdbadmin
8bcccff18f
*** empty log message ***
2005-01-01 00:00:04 +00:00
Alan Modra
54884041fe
daily update
2004-12-31 23:00:05 +00:00
Paul Brook
83a358aab6
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
2004-12-31 16:22:25 +00:00
Alan Modra
b996922c85
* 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.
2004-12-31 00:43:58 +00:00
gdbadmin
e2c1bc70b1
*** empty log message ***
2004-12-31 00:00:33 +00:00
Alan Modra
69658edde8
daily update
2004-12-30 23:00:04 +00:00
Alan Modra
8d15ae7c1c
* gas/elf/elf.exp: Don't list reloc sections.
...
* gas/elf/section5.e: Remove reloc sections.
2004-12-30 22:41:31 +00:00
Alan Modra
ca0548b640
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
2004-12-30 22:37:31 +00:00
Alan Modra
180e47e2d7
* objdump.c (remove_useless_symbols): Discard section symbols.
2004-12-30 22:33:20 +00:00