H.J. Lu
25bbc98480
2005-12-13 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/2008
* elf.c (_bfd_elf_setup_sections): Return FALSE if
elf_linked_to_section will be set to NULL.
* format.c (bfd_check_format_matches): Don't check the default
target twice.
2005-12-13 15:34:28 +00:00
Mark Kettenis
a717134b33
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
...
export stub for signal trampoline as a signal trampoline too.
2005-12-13 10:24:35 +00:00
Mark Kettenis
755f4b216b
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
...
set pcoqh to rp.
2005-12-13 10:17:09 +00:00
Corinna Vinschen
5d0d05b631
* h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
...
gdb_byte *.
(h8300_push_dummy_call): Change `padded' to gdb_byte.
(h8300_return_value): Change buffer types to gdb_byte.
(h8300h_return_value): Ditto.
(h8300_pseudo_register_read): Ditto.
(h8300_pseudo_register_write): Ditto.
2005-12-13 10:06:37 +00:00
Corinna Vinschen
ec2e92c156
* v850-tdep.c (v850_frame_prev_register): Change valuep type to
...
gdb_byte *.
2005-12-13 09:59:05 +00:00
Alan Modra
4fa1c2377a
* elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
...
shared libs to resolve locally.
2005-12-13 05:39:34 +00:00
gdbadmin
c9f278b66d
*** empty log message ***
2005-12-13 00:00:34 +00:00
Alan Modra
751b63a12d
daily update
2005-12-12 23:00:07 +00:00
Paul Brook
39b41c9ca8
2005-12-12 Paul Brook <paul@codesourcery.com>
...
bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(check_use_blx): New function.
(bfd_elf32_arm_process_before_allocation): Don't allocate glue if
using BLX.
(elf32_arm_final_link_relocate): Perform bl<->blx conversion for
R_ARM_CALL and R_ARM_THM.
(elf32_arm_get_eabi_attr_int): New function.
(elf32_arm_size_dynamic_sections): Call check_use_blx.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
gas/
* config/tc-arm.c (do_branch): Generate EABI branch relocations.
(do_bl): New function.
(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
(insns): Use do_bl.
(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
BFD_RELOC_ARM_PCREL_BLX cases. Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
gas/testsuite/
* gas/arm/pic.d: Allow R_ARM_CALL relocations.
include/elf/
* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
* ld-arm/arm-call.d: New test.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5.
* ld-arm/arm.ld: Add .glue_7 and .ARM.attribues.
* ld-arm/mixed-app-v5.d: New file.
* ld-arm/mixed-app.r: Tweak expected output.
2005-12-12 17:03:40 +00:00
Nathan Sidwell
4970f871a7
Rename ms1 to mt, part 1
...
* config.sub: Replace ms1 arch with mt. Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.
* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.
* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.
* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.
* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.
* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.
* gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.
* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir. Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.
* include/elf/mt.h: Renamed from ms1.h
* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.
* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.
* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.
* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.
* sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12 11:25:08 +00:00
Nathan Sidwell
787121fc40
Rename ms1 files to mt files (part 1 -- renames only)
2005-12-12 11:16:41 +00:00
Alan Modra
67f93c31bb
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
2005-12-12 03:59:52 +00:00
gdbadmin
db3d81c996
*** empty log message ***
2005-12-12 00:00:33 +00:00
Randolph Chung
f3ed761a58
*** empty log message ***
2005-12-11 23:59:33 +00:00
Alan Modra
9e56e9e7c4
daily update
2005-12-11 23:00:07 +00:00
DJ Delorie
7887b2ce66
merge from gcc
2005-12-11 02:16:09 +00:00
Hans-Peter Nilsson
bd6791bc12
* scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
...
* scripttempl/elf.sc: Ditto.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elf_chaos.sc: Ditto.
* scripttempl/elfd10v.sc: Ditto.
* scripttempl/elfd30v.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
* scripttempl/iq2000.sc: Ditto.
* scripttempl/xstormy16.sc: Ditto.
2005-12-11 00:49:19 +00:00
gdbadmin
1da2706a95
*** empty log message ***
2005-12-11 00:00:33 +00:00
Alan Modra
4a92cdb5fe
daily update
2005-12-10 23:00:06 +00:00
Alan Modra
5adcfd8b2c
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
...
to test for linking shared libs, not info->shared.
2005-12-10 03:31:03 +00:00
gdbadmin
21373e2250
*** empty log message ***
2005-12-10 00:00:34 +00:00
Alan Modra
3f4cf6e93b
daily update
2005-12-09 23:00:06 +00:00
Randolph Chung
6b79fde800
2005-12-09 Randolph Chung <tausq@debian.org>
...
PR corefiles/2026
* hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
core files.
(_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
* config/pa/hpux.mh: Compile corelow.o.
2005-12-09 11:25:04 +00:00
Randolph Chung
1218e655b1
2005-12-09 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
(hppa64_push_dummy_call): If passing a function pointer, ensure
it is a function descriptor address instead of the function entry
point.
2005-12-09 11:13:34 +00:00
Randolph Chung
1ef7fcb5ad
2005-12-09 Randolph Chung <tausq@debian.org>
...
* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
(hppa_gdbarch_init): Set dwarf_reg_to_regnum and
dwarf2_reg_to_regnum methods.
2005-12-09 11:10:25 +00:00
Randolph Chung
9fdb1f509e
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.
2005-12-09 11:05:26 +00:00
Randolph Chung
5f2c56f79b
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.
2005-12-09 11:02:09 +00:00
Randolph Chung
8117349cb4
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.
2005-12-09 10:57:40 +00:00
Randolph Chung
8f07f25a06
2005-12-09 Randolph Chung <tausq@debian.org>
...
* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
2005-12-09 10:55:09 +00:00
gdbadmin
039a96c3f0
*** empty log message ***
2005-12-09 00:00:35 +00:00
Alan Modra
8ffca28b52
daily update
2005-12-08 23:00:06 +00:00
Kevin Buettner
8b2ab35db5
* NEWS (Changes in GDB 6.4): Delete entries indicating that
...
the following configurations have been removed: h8300*-*-*,
mn10300-*-*, and v850-*-*. These configurations had been
removed within the 6.4 development cycle, but were later
restored within the same cycle.
2005-12-08 19:13:00 +00:00
Jan Beulich
272c92178a
opcodes/
...
2005-12-08 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (MAXLEN): Reduce to architectural limit.
(fetch_data): Check for sufficient buffer size.
2005-12-08 15:21:05 +00:00
Alan Modra
0ba079102f
bfd/
...
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
(ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
(add_stub_sym): New function.
(allocate_dynrelocs): Call add_stub_sym.
(ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
when emit_stub_syms.
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
ld/
* emultempl/ppc32elf.em (emit_stub_syms): New var.
(ppc_after_open): Pass it to ppc_elf_select_plt_layout.
(PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Handle it.
2005-12-08 11:41:12 +00:00
Alan Modra
362307121f
* pe-dll.c (build_filler_bfd): Conform error message to standard.
...
(pe_dll_generate_implib): Use %E in error message.
(add_bfd_to_link): Likewise.
(pe_implied_import_dll): Likewise.
2005-12-08 11:38:25 +00:00
Jan Beulich
422673a90b
opcodes/
...
2005-12-08 Jan Beulich <jbeulich@novell.com>
* i386-dis.c (OP_ST): Remove prefix in Intel mode.
2005-12-08 11:28:11 +00:00
Alan Modra
a7985d7382
* reloc.c (enum complain_overflow): Correct comments.
...
(bfd_check_overflow): Combine complain_overflow_bitfield and
complain_overflow_signed code.
(_bfd_relocate_contents): Likewise.
(bfd_howto_32): Use complain_overflow_dont.
* elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
* bfd-in2.h: Regenerate.
2005-12-08 11:05:36 +00:00
Nathan Sidwell
3950dc3f51
Add ms2 support.
...
* ms1-tdep.c (ms1_register_type): Check for ms2.
(ms1_breakpoint_from_pc): ms2 has a different break instruction.
(ms1_pseudo_register_read, ms1_pseudo_register_write,
ms1_registers_info): Add ms2.
* NEWS (Changes since GDB 6.4): Add ms2
2005-12-08 10:35:18 +00:00
Alan Modra
6e50d963b0
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
2005-12-08 09:59:40 +00:00
H.J. Lu
e424ecc89d
2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
...
* elf.c (assign_section_numbers): Remove extra code in the last
change.
2005-12-08 01:34:13 +00:00
Randolph Chung
8d49894913
2005-12-08 Randolph Chung <tausq@debian.org>
...
* somread.c (som_symfile_offsets): Iterate through number of sections
in addrs instead of objfile.
2005-12-08 00:17:33 +00:00
gdbadmin
bd4c522848
*** empty log message ***
2005-12-08 00:00:02 +00:00
Daniel Jacobowitz
55b3918466
gdb/
...
* valops.c (value_struct_elt): Clarify error message.
gdb/testsuite/
2005-12-07 Christophe Lyon <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.
2005-12-07 23:07:54 +00:00
Alan Modra
7b6792f929
daily update
2005-12-07 23:00:06 +00:00
Jim Blandy
12c7def667
gdb/ChangeLog:
...
2005-12-07 Jim Blandy <jimb@redhat.com>
* target.c (target_xfer_memory_partial): Doc fix.
2005-12-07 19:35:43 +00:00
Jim Blandy
3d269a592e
2005-12-07 Jim Blandy <jimb@redhat.com>
...
* ax-general.c (ax_reqs): Check stack heights for backward jumps,
too. Correctly check height at target. Doc fixes.
2005-12-07 19:30:25 +00:00
H.J. Lu
f287603758
2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
...
Andreas Schwab <schwab@suse.de>
PR binutils/1991
* elf.c (assign_section_numbers): Always use the output section
when setting up sh_link for SHF_LINK_ORDER.
2005-12-07 19:21:44 +00:00
H.J. Lu
fe21a8fc74
bfd/
...
2005-12-07 Thiemo Seufer <ths@networkno.de>
H.J. Lu <hongjiu.lu@intel.com>
PR ld/1932
* bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
and hidden arguments.
* bfd.c (bfd_hide_symbol): Removed.
* bfd-in2.h: Regenerated.
* elflink.c (bfd_elf_record_link_assignment): Handle hidden
symbols which were provided by a linker script.
ld/
2005-12-07 Thiemo Seufer <ths@networkno.de>
H.J. Lu <hongjiu.lu@intel.com>
PR ld/1932
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Adjust bfd_elf_record_link_assignment call.
* ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
2005-12-07 14:43:54 +00:00
Hans-Peter Nilsson
cf54500c3c
* cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
...
MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants.
2005-12-07 12:56:13 +00:00
Hans-Peter Nilsson
5b3f8a92b4
* cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
...
(MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
(ADD_PC_INCR_OPCODE): Don't define.
2005-12-07 12:53:57 +00:00