Nick Clifton
d2c5f73ed7
Support the .f_floating, .d_floating, .g_floating and .h_floating directives
...
for the VAX target in order to be more compatible with the VAX MACRO assembler.
2005-04-01 14:17:17 +00:00
Nick Clifton
ce8d332a69
elf-rel.d: Call gas with -k. Thanks toMatt Thomas for figuring out.
...
vax.exp: Run elf-rel.[sd] for NetBSD-ELF and Linux.
2005-04-01 14:08:56 +00:00
Nick Clifton
56f366632f
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
...
with the one in include/getopt.h. If so then define HAVE_DECL_GETOPT.
2005-04-01 12:56:29 +00:00
Jan Beulich
8a75718cb7
gas/
...
2005-04-01 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (s_bss): Call obj_elf_section_change_hook.
gas/testsuite/
2005-04-01 Jan Beulich <jbeulich@novell.com>
* gas/i386/bss.[sd]: New.
* gas/i386/i386.exp: Run new test.
2005-04-01 07:50:24 +00:00
Jan Beulich
ae8887b540
gas/
...
2005-04-01 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (md_apply_fix3): Also handle BFD_RELOC_X86_64_32S.
(tc_gen_reloc): Handle BFD_RELOC_X86_64_32S in the default case.
gas/testsuite/
2005-04-01 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-pcrel.[sd]: New.
* gas/i386/i386.exp: Run new test.
2005-04-01 07:46:07 +00:00
H.J. Lu
01b3c8abd1
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
...
* elf-bfd.h (_bfd_elf_check_kept_section): New.
* elf.c (assign_section_numbers): When sh_link points to a
discarded section, call _bfd_elf_check_kept_section to see if
the kept section can be used. Otherwise reject sh_link
pointing to discarded section.
* elflink.c (_bfd_elf_check_kept_section): New.
(elf_link_input_bfd): Use it.
2005-04-01 03:49:46 +00:00
Alan Modra
3509047186
* elf64-ppc.c (ppc64_elf_edit_toc): Account for dynamic relocs
...
that we no longer need.
2005-04-01 02:50:15 +00:00
Alan Modra
77623a344f
(ppc64_elf_check_relocs): Remove unnecessary SEC_ALLOC check.
2005-04-01 02:40:35 +00:00
Alan Modra
7356fed57f
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Return -1 on errors
...
rather than 0.
2005-04-01 02:35:41 +00:00
H.J. Lu
28b1374403
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (assign_section_numbers): Fix a typo.
2005-04-01 00:30:49 +00:00
H.J. Lu
595cf52ef2
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (do_full_section_name): New.
(options): Add "--full-section-name"/'N'.
(usage): Add -N/--full-section-name.
(parse_args): Handle 'N'.
(process_section_headers): Print out the full section name if
do_full_section_name isn't 0.
2005-04-01 00:03:17 +00:00
Alan Modra
dca8d0afa1
daily update
2005-04-01 00:00:05 +00:00
gdbadmin
abb7c803b5
*** empty log message ***
2005-04-01 00:00:03 +00:00
H.J. Lu
c93625e2d2
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.c (elf_link_input_bfd): Remove the extra `\n' in
error message.
(_bfd_elf_section_already_linked): Likewise.
2005-03-31 23:45:30 +00:00
Kevin Buettner
186993b458
Add TLS load module support for FRV.
2005-03-31 20:39:14 +00:00
Kevin Buettner
b275693032
* gdbarch.sh (fetch_tls_load_module_address): New architecture method.
...
* gdbarch.c, gdbarch.h: Regenerate.
* dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
address and pass this address, instead of the objfile address, to
target_get_thread_local_address().
* linux-thread-db.c (thread_db_get_thread_local_address): Change
second parameter from type ``struct objfile *'' to CORE_ADDR. Do
not call svr4_fetch_objfile_link_map() to fetch the load module
address.
* target.h (struct target_ops): Change second parameter of
``to_get_thread_local_address'' from ``struct objfile *'' to
``CORE_ADDR''.
* alpha-linux-tdep.c (solib-svr4.h): Include.
(alpha_linux_init_abi): Register TLS load module fetcher.
* amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
* hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
* i386-linux-tdep.c (i386_linux_init_abi): Likewise.
* ia64-linux-tdep.c (solib-svr4.h): Include.
(ia64_linux_init_abi): Register TLS load module fetcher.
* m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
* m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
* mips-linux-tdep.c (mips_linux_init_abi): Likewise.
* s390-tdep.c (s390_gdbarch_init): Likewise.
* sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
* sparc64-linux-tdep.c (solib-svr4.h): Include.
(sparc64_linux_init_abi): Register TLS load module fetcher.
* Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
(sparc-linux-tdep.o): Update dependencies.
2005-03-31 19:58:26 +00:00
DJ Delorie
0e867e7957
merge from gcc
2005-03-31 17:03:35 +00:00
Jerome Guitton
4bd6089634
* configure.in: Check for basename.
...
* configure: Regenerate.
* config.in: Ditto.
2005-03-31 16:52:54 +00:00
Jerome Guitton
fddc4048e5
* bfd/config.in: Regenerate.
2005-03-31 16:09:03 +00:00
Jerome Guitton
2e9ebff5c7
* bfd/config.in (HAVE_DECL_BASENAME): New configure macro.
...
* bfd/configure.in: Check for basename.
* bfd/configure: Regenerate.
2005-03-31 15:35:38 +00:00
Nick Clifton
e46eba98ae
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
...
with the one in include/getopt.h. If so then define HAVE_DECL_GETOPT.
2005-03-31 14:40:41 +00:00
Alan Modra
0f2d00bca8
daily update
2005-03-31 00:00:05 +00:00
gdbadmin
7e847698dc
*** empty log message ***
2005-03-31 00:00:03 +00:00
Joern Rennecke
dd387d52e1
* config/mh-mingw32: Delete.
...
* configure.in: Don't use it.
* configure: Regenerate.
2005-03-30 18:36:33 +00:00
Julian Brown
05ea83ed21
* bfd/bfd-in.h (bfd_is_arm_mapping_symbol_name): Rename from
...
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/bfd-in2.h: Regenerate.
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename from
bfd_elf32_is_arm_mapping_symbol_name.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename
bfd_elf32_is_arm_mapping_symbol_name to bfd_is_arm_mapping_symbol_name.
(arm_elf_find_function): Likewise.
(elf32_arm_output_symbol_hook): Likewise.
* gas/config/tc-arm.c (arm_adjust_symtab): Likewise.
2005-03-30 17:19:29 +00:00
Julian Brown
9d2da7ca8d
* bfd/bfd-in.h (bfd_elf32_is_arm_mapping_symbol_name): Add prototype.
...
* bfd/bfd-in2.h: Regenerate.
* bfd/elf32-arm.c (elf32_arm_is_target_special_symbol): Rename call to
bfd_elf32_is_arm_mapping_symbol_name.
(elf32_arm_output_symbol_hook): Likewise.
(arm_elf_find_function): Likewise, and include STT_NOTYPE in test for
mapping symbols.
(is_arm_mapping_symbol_name): Function moved from here...
* bfd/cpu-arm.c (bfd_elf32_is_arm_mapping_symbol_name): ...to here,
renamed and made global.
* gas/config/tc-arm.c (mapping_state): Change documentation in function
comment to cross-reference spec instead. Change type of mapping symbols
to BSF_NO_TYPE.
(arm_adjust_symtab): Don't change type of mapping symbols here.
* gas/testsuite/gas/arm/mapping.d: Update expected output.
* ld/testsuite/ld-arm/arm-app-abs32.d: Likewise.
* ld/testsuite/ld-arm/arm-app.d: Likewise.
* ld/testsuite/ld-arm/mixed-app.d: Likewise.
2005-03-30 16:22:07 +00:00
Paul Brook
74ec5579b9
2005-03-30 Paul Brook <paul@codesourcery.com>
...
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
2005-03-30 16:21:33 +00:00
Paolo Bonzini
e90269c823
2005-02-28 Paolo Bonzini <bonzini@gnu.org>
...
* Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path.
* Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove.
(HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR).
(HOST_LIB_PATH): Generate from Makefile.def.
(TARGET_LIB_PATH): Likewise.
(Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR.
* Makefile.in: Regenerate.
* configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove.
(RPATH_ENVVAR): Include Darwin case.
* configure: Regenerate.
config:
2005-02-28 Paolo Bonzini <bonzini@gnu.org>
* config/gcc-lib-path.m4: Remove.
2005-03-30 08:39:18 +00:00
Aaron W. LaFramboise
e8a38df5d8
* as.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
...
* config.in: Regenerate.
* configure: Regenerate.
* configure.in: Check for ffs decl and alphabetize.
2005-03-30 02:55:13 +00:00
Aaron W. LaFramboise
efa9bda482
* configure.in: Check for ffs decl and alphabetize.
...
* config.in: Regenerate.
* configure: Regenerate.
* sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and
alphabetize.
2005-03-30 02:46:25 +00:00
gdbadmin
9ac9941eec
*** empty log message ***
2005-03-30 00:00:33 +00:00
Alan Modra
491c40da28
daily update
2005-03-30 00:00:05 +00:00
Daniel Jacobowitz
8875030493
* c-valprint.c (c_value_print): Fix up some formatting. Use
...
check_typedef.
testsuite/
* gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
2005-03-29 20:37:19 +00:00
Daniel Jacobowitz
15b6c49f14
Missed part of earlier commit.
2005-03-29 20:34:57 +00:00
Fred Fish
09a9d560e1
Approved by nickc@redhat.com
...
2005-03-29 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (struct comp_unit): Fix typo.
(scan_unit_for_functions): Remove unused local variable "name"
and dead code that set it.
2005-03-29 20:10:42 +00:00
DJ Delorie
7e10245c4e
merge from gcc
2005-03-29 19:32:15 +00:00
H.J. Lu
4cc91dba12
gas/testsuite/
...
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run segment and inval-seg for i386. Run
x86-64-segment and x86-64-inval-seg for x86-64.
* gas/i386/intel.d: Expect movw for moving between memory and
segment register.
* gas/i386/naked.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
* gas/i386/opcode.s: Use movw for moving between memory and
segment register.
* gas/i386/x86-64-opcode.s: Likewise.
* : Likewise.
* gas/i386/inval-seg.l: New.
* gas/i386/inval-seg.s: New.
* gas/i386/segment.l: New.
* gas/i386/segment.s: New.
* gas/i386/x86-64-inval-seg.l: New.
* gas/i386/x86-64-inval-seg.s: New.
* gas/i386/x86-64-segment.l: New.
* gas/i386/x86-64-segment.s: New.
include/opcode/
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Don't allow the `l' suffix for moving
moving between memory and segment register. Allow movq for
moving between general-purpose register and segment register.
opcodes/
2005-03-29 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (SEG_Fixup): New.
(Sv): New.
(dis386): Use "Sv" for 0x8c and 0x8e.
2005-03-29 19:30:47 +00:00
Nick Clifton
f0953f9df2
Updated German translation.
2005-03-29 17:43:08 +00:00
Daniel Jacobowitz
adb8a87cfd
* arm-linux-nat.c (store_register, store_regs): Handle
...
ARM_PS_REGNUM.
2005-03-29 16:58:23 +00:00
Daniel Jacobowitz
498b1f8763
* arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
...
(arm_linux_thumb_le_breakpoint): New. Update comments.
(arm_linux_init_abi): Set Thumb breakpoints also.
2005-03-29 16:57:30 +00:00
Daniel Jacobowitz
842e1f1ec4
* Makefile.in (arm-tdep.o): Update dependencies.
...
* arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
(arm_gdbarch_init): Register dwarf2_frame_sniffer.
2005-03-29 16:56:40 +00:00
Daniel Jacobowitz
ba93b8aced
bfd/
...
* bfd-in2.h, libbfd.h: Regenerated.
* reloc.c: Add ARM TLS relocations.
* elf32-arm.c (elf32_arm_howto_table): Add dynamic TLS
relocations.
(elf32_arm_tls_gd32_howto, elf32_arm_tls_ldo32_howto)
(elf32_arm_tls_ldm32_howto, elf32_arm_tls_le32_howto)
(elf32_arm_tls_ie32_howto): New.
(elf32_arm_howto_from_type): Support TLS relocations.
(elf32_arm_reloc_map): Likewise.
(elf32_arm_reloc_type_lookup): Likewise.
(TCB_SIZE): Define.
(struct elf32_arm_obj_tdata): New.
(elf32_arm_tdata, elf32_arm_local_got_tls_type): Define.
(elf32_arm_mkobject): New function.
(struct elf32_arm_relocs_copied): Add pc_count.
(elf32_arm_hash_entry, GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD)
(GOT_TLS_IE): Define.
(struct elf32_arm_link_hash_table): Add tls_ldm_got.
(elf32_arm_link_hash_newfunc): Initialize tls_type.
(elf32_arm_copy_indirect_symbol): Copy pc_count and tls_type.
(elf32_arm_link_hash_table_create): Initialize tls_ldm_got.
(dtpoff_base, tpoff): New functions.
(elf32_arm_final_link_relocate): Handle TLS relocations.
(IS_ARM_TLS_RELOC): Define.
(elf32_arm_relocate_section): Warn about TLS mismatches.
(elf32_arm_gc_sweep_hook): Handle TLS relocations and pc_count.
(elf32_arm_check_relocs): Detect invalid symbol indexes. Handle
TLS relocations and pc_count.
(elf32_arm_adjust_dynamic_symbol): Check non_got_ref.
(allocate_dynrelocs): Handle TLS. Bind REL32 relocs to local
calls.
(elf32_arm_size_dynamic_sections): Handle TLS.
(elf32_arm_finish_dynamic_symbol): Likewise.
(bfd_elf32_mkobject): Define.
gas/
* config/tc-arm.c (arm_parse_reloc): Add TLS relocations.
(md_apply_fix3): Mark TLS symbols.
(tc_gen_reloc): Handle TLS relocations.
(arm_fix_adjustable): Ignore TLS relocations.
(s_arm_elf_cons): Support expressions after decorated symbols.
gas/testuite/
* gas/arm/tls.s, gas/arm/tls.d: New files.
* gas/arm/arm.exp: Run TLS test.
include/elf/
* arm.h: Add TLS relocations.
ld/testsuite/
* ld-arm/tls-lib.s, ld-arm/tls-lib.d, ld-arm/tls-lib.r,
ld-arm/tls-app.s, ld-arm/tls-app.d, ld-arm/tls-app.r: New files.
* ld-arm/arm-lib.ld, ld-arm/arm-dyn.ld: Increase data segment
alignment.
* ld-arm/arm-elf.exp: Run TLS tests.
2005-03-29 16:54:22 +00:00
Daniel Jacobowitz
71a976dd82
* elf32-arm.c (elf32_arm_check_relocs): Increment count for all
...
relocation types. Don't count relocations which will use a PLT.
2005-03-29 16:39:51 +00:00
Julian Brown
84798bd6b6
* gas/config/tc-arm.c (marked_pr_dependency): New bitmap, bit N
...
indicates whether personality routine index N has been output for this
section.
(mapping_state): tc_segment_info_data now struct not enum.
(arm_elf_change_section): Likewise, and marked_pr_dependency is now
handled on section change.
(create_unwind_entry): Previous code to output dependency removed.
(s_arm_unwind_fnend): Output dependency if it hasn't been done already
for this section.
* gas/config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
arm_segment_info_type.
(arm_segment_info_type): New struct.
* gas/testsuite/gas/arm/unwind.d: Update expected output.
2005-03-29 16:29:09 +00:00
Nick Clifton
ec72cfe589
Add VAX specific disassembler option -Mentry: to specify a function entry
...
address, and add code to test this new option.
2005-03-29 16:13:48 +00:00
Alan Modra
deb04cdb5e
* emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
...
New function, extracted from static void gld${EMULATION_NAME}_finish.
(gld${EMULATION_NAME}_strip_empty_sections): Likewise.
(gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
* emultempl/ppc64elf.em: Revert last change.
(ppc_layout_sections_again): Use
gld${EMULATION_NAME}_layout_sections_again.
(ppc_finish): Don't call gld${EMULATION_NAME}_finish. Instead call
gld${EMULATION_NAME}_strip_empty_sections and
gld${EMULATION_NAME}_provide_init_fini_syms.
* emultempl/hppaelf.em: Similarly.
2005-03-29 11:07:38 +00:00
Joel Brobecker
7e7353ed54
* elf.c (elfcore_grok_nto_status): Print tid as long.
...
(elfcore_grok_nto_regs): Likewise.
2005-03-29 08:51:59 +00:00
Joel Brobecker
166856d77d
* irix-core.c: Remove some unnecessary prototypes.
2005-03-29 08:34:48 +00:00
Alan Modra
8b4e5e2810
* emultempl/ppc64elf.em (need_laying_out): Delete. Remove all refs.
...
(ppc_finish): Don't call bfd_elf_discard_info.
* emultempl/hppaelf.em: Similarly.
2005-03-29 06:52:22 +00:00
Anil Paranjpe
abd18680d3
2005-03-29 Anil Paranjpe <anilp1@kpitcummins.com>
...
* MAINTAINERS: Add myself as H8300 maintainer.
2005-03-29 06:23:59 +00:00