Alan Modra
ab96bf03fd
PR 3958
...
bfd/
* elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): No error on relocatable link.
(elf_discarded_section): Move..
* bfd-in.h: ..to here.
* bfd-in2.h: Regenerate.
* elflink.c (elf_link_input_bfd): Don't zap relocs against symbols
from discarded sections before relocate_section has done its job.
* reloc.c (bfd_generic_get_relocated_section_contents): Handle
relocs against symbols from discarded sections.
* elf-hppa.h (elf_hppa_howto_table): Set size. Set dst_mask on
SECREL32.
(elf_hppa_relocate_section): Handle relocatable link after setting
sec, sym, h etc. for final link. Squash error messages for
relocatable link. Clear section contents for relocs against
symbols in discarded sections, and zero reloc. Remove existing
zero r_symndx code.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
(bfin_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-m32c.c (m32c_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-mep.c (mep_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-mt.c (mt_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-score.c (_bfd_score_elf_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-spu.c (spu_elf_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xc16x.c (elf32_xc16x_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section_r): Likewise.
(elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Likewise.
* elf32-arm.c (elf32_arm_relocate_section): Always adjust section
symbols for relocatable link. Don't use always-zero st_value.
(elf_backend_rela_normal): Don't define.
* elf32-bfin.c (bfinfdpic_relocate_section): Use
RELOC_FOR_GLOBAL_SYMBOL.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Combine SEC_MERGE
section symbol adjustments with same for relocatable link.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-m68hc1x.c (m68hc11_get_relocation_value): Move..
(elf32_m68hc11_check_relocs): ..to here.
* elf32-score.c (score_elf_final_link_relocate): Remove zero
r_symndx code.
* elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
ld/testsuite/
* ld-elf/linkonce1.d: New.
* ld-elf/linkonce1a.s: New.
* ld-elf/linkonce1b.s: New.
* ld-elf/linkonce2.d: New.
* ld-i386/pcrel16abs.d: New.
* ld-i386/pcrel16abs.s: New.
* ld-i386/i386.exp: Run it.
2007-03-07 08:54:35 +00:00
Nick Clifton
057cac0830
PR ld/4023
...
* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
from any paths being inserted into the output binary's DT_RPATH.
2007-03-07 07:52:09 +00:00
H.J. Lu
d64cc92a74
2007-03-06 H.J. Lu <hongjiu.lu@intel.com>
...
PR ld/4144
* ld-elf/nobits-1.d: New file.
* ld-elf/nobits-1.s: Likewise.
* ld-elf/nobits-1.t: Likewise.
2007-03-07 03:58:44 +00:00
Alan Modra
0e922b770e
PR 4144
...
* elf.c (assign_file_positions_for_load_sections): Don't
adjust p_memsz for !SEC_LOAD section vma modulo page size.
Instead, use the same lma based adjustment for SEC_LOAD
sections.
2007-03-07 02:14:40 +00:00
gdbadmin
5a95d5a969
*** empty log message ***
2007-03-07 00:00:35 +00:00
Alan Modra
6ee4c85808
daily update
2007-03-06 23:00:07 +00:00
DJ Delorie
e04d761119
merge from gcc
2007-03-06 19:00:57 +00:00
Martin Schwidefsky
b5639b37c5
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
...
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* config/tc-s390.c (md_parse_option): z9-ec option added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.
2007-03-06 13:19:08 +00:00
H.J. Lu
412cc54eb9
2007-03-05 H.J. Lu <hongjiu.lu@intel.com>
...
PR gas/3918
* lib/gas-defs.exp (gas_started): New variable. Initialized to
0.
(gas_start): Set gas_started to 1.
(gas_finish): Skip if gas_started is 0. Reset gas_started to 0.
2007-03-06 02:08:25 +00:00
gdbadmin
5a38199b18
*** empty log message ***
2007-03-06 00:00:32 +00:00
DJ Delorie
a3ca38d268
Merge from gcc:
...
+2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28 Eric Christopher <echristo@apple.com>
+
+ Revert:
+ 2006-12-07 Mike Stump <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27 Matt Kraai <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+
2007-03-05 23:19:10 +00:00
Alan Modra
c526a6baf7
daily update
2007-03-05 23:00:07 +00:00
DJ Delorie
d7831e7c47
merge from gcc
2007-03-05 22:15:41 +00:00
gdbadmin
ad8bd7f8c1
*** empty log message ***
2007-03-05 00:00:04 +00:00
Alan Modra
f66a453495
daily update
2007-03-04 23:00:06 +00:00
gdbadmin
18845502dd
*** empty log message ***
2007-03-04 00:00:02 +00:00
Alan Modra
07725c1926
daily update
2007-03-03 23:00:05 +00:00
gdbadmin
f157d00c98
*** empty log message ***
2007-03-03 00:00:38 +00:00
Alan Modra
4b39bc0770
daily update
2007-03-02 23:00:06 +00:00
Michael Snyder
fc133f2406
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.
2007-03-02 22:16:06 +00:00
Michael Snyder
7646a51d49
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* gdb.base/watchpoint.exp: Fix truncated comment.
2007-03-02 22:11:15 +00:00
Mark Kettenis
861fb77c13
* shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
...
"gdb_string.h". Don't include "nbsd-tdep.h".
(SIZEOF_STRUCT_REG): Remove.
(SHNBSD_SIZEOF_GREGS): New.
(shnbsd_supply_gregset, shnbsd_collect_gregset)
(shnbsd_regset_from_core_section): New functions.
(fetch_core_registers, fetch_elfcore_registers): Remove functions.
(shnbsd_supply_reg, shnbsd_fill_reg): Simply call
shnbsd_supply_gregset, shnbsd_collect_gregset.
(shnbsd_gregset): New variable.
(shnbsd_init_abi): Set regset_from_core_section.
(GDB_OSABI_NETBSD_CORE): New define.
(shnbsd_core_osabi_sniffer): New function.
(_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
* Makefile.in (shnbsd-tdep.o): Update dependencies.
* config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
nbsd-tdep.o.
* config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
2007-03-02 21:28:18 +00:00
Nathan Sidwell
d6ed30ba0d
* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
2007-03-02 21:02:48 +00:00
Michael Snyder
dcfff61f44
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
...
* Makefile.in: Remove spurious single-quotes from sed command.
2007-03-02 18:42:40 +00:00
Paul Brook
bddb0493ac
2007-03-02 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass strect argument. Adjust infinite loop check.
gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.
2007-03-02 18:22:59 +00:00
Paul Brook
5e77afaabd
2007-03-02 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (relax_immediate): Always return positive values.
(relaxed_symbol_addr): New function.
(relax_adr, relax_branch): Use it.
(arm_relax_frag): Pass stretch argument. Adjust infinite loop check.
gas/testsuite/
* gas/arm/relax_branch_align.d: New test.
* gas/arm/relax_branch_align.s: New test.
2007-03-02 18:22:34 +00:00
Daniel Jacobowitz
6a1754a359
2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>
...
* gencode.c (tab): Correct pre-decrement instructions when m == n.
2007-03-02 12:15:01 +00:00
Richard Sandiford
cde1b43932
ld/testsuite/
...
* ld-elf/binutils.exp: Revert last change.
2007-03-02 09:20:13 +00:00
gdbadmin
ac87cdfeb3
*** empty log message ***
2007-03-02 00:00:02 +00:00
Bob Wilson
25c6282a07
* elf32-xtensa.c (analyze_relocations): Zero src_count if not relaxing.
...
(find_relaxable_sections): Do not increment src_count for unknown
opcodes. Decode only once instead of calling is_l32r_relocation.
(compute_text_actions): Remove unused no_insn_move flag. Assert that
src_next matches src_count in relax_info.
2007-03-01 23:38:03 +00:00
Alan Modra
558e5d2178
daily update
2007-03-01 23:00:07 +00:00
Richard Sandiford
d3e52d400e
binutils/
...
200x-xx-xx Phil Edwards <phil@codesourcery.com>
Richard Sandiford <richard@codesourcery.com>
* NEWS: Mention addition of --extract-symbol.
* doc/binutils.texi: Document it.
* objcopy.c (extract_symbol): New variable.
(OPTION_EXTRACT_SYMBOLS): New command_line_switch.
(copy_options): Add an entry for --extract-symbol.
(copy_usage): Mention --extract-symbol.
(copy_object): Set the start address to zero for --extract-symbol.
Do not copy private BFD data in that case.
(setup_section): Set the size, LMA and VMA to zero for
--extract-symbol. Do not copy private BFD data in that case.
(copy_section): Do not copy section contents if --extract-symbol
is passed.
(copy_main): Set extract_symbol to TRUE if --extract-symbol
is passed.
ld/testsuite/
* ld-elf/extract-symbol-1sym.d, ld-elf/extract-symbol-1sec.d,
* ld-elf/extract-symbol-1.s, ld-elf/extract-symbol-1.ld: New tests.
* ld-elf/binutils.exp: Run them.
2007-03-01 16:39:42 +00:00
Paul Brook
336becc779
2007-03-01 Paul Brook <paul@codesourcery.com>
...
* MAINTAINERS: Update my entry.
2007-03-01 16:06:28 +00:00
Joseph Myers
066c2a57f5
bfd:
...
* Makefile.am (bfdver.h): Use "." not " " between version number
and date.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Default to "(GNU Binutils) ".
* configure: Regenerate.
binutils:
* version.c (print_version): Update copyright date.
gas:
* as.c (parse_args): Update copyright date.
gprof:
* gprof.c: Include bfdver.h
(main): Use BFD_VERSION_STRING for version number and package
name.
* Makefile.am (PKGVERSION): Remove.
(INCLUDES): Update.
Regenerate dependencies.
* Makefile.in: Regenerate.
* configure.in (PKGVERSION): Remove.
* configure: Regenerate.
ld:
* ldver.c (ldversion): Remove word "version" from output. Update
copyright date.
2007-03-01 15:48:36 +00:00
Eric Botcazou
563d09a555
PR other/16513
...
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.
2007-03-01 15:32:57 +00:00
Thiemo Seufer
53f4826b00
* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
...
and mips64.
2007-03-01 14:29:26 +00:00
Daniel Jacobowitz
a7186e883c
* Makefile.am (install-exec-local): Depend on $(noinst_PROGRAMS).
...
Adjust $(EXEEXT) handling for $(RENAMED_PROGS).
* Makefile.in, doc/Makefile.in: Regenerate.
2007-03-01 12:35:40 +00:00
Alan Modra
30ac7323f6
* spu-insns.h: Add soma double-float insns.
2007-03-01 11:17:41 +00:00
Alan Modra
11d5fa8985
* embedspu.sh: Set type and size of global program handle symbol.
2007-03-01 06:14:37 +00:00
gdbadmin
9c95710e8b
*** empty log message ***
2007-03-01 00:00:33 +00:00
Alan Modra
fa4ec7cf89
daily update
2007-02-28 23:00:06 +00:00
Joel Brobecker
787cbe146c
* gdbtypes.c (replace_type): Fix typo that caused us to not update
...
length of the types referenced by the new type CV ring.
2007-02-28 19:42:08 +00:00
Nick Clifton
c5d07591f7
PR gas/3797
...
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$
(md_assemble): If do_assemble returns -1 generate a non-fatal error message and return.
* gas/lns/lns.exp: Do not run the lns-common test for the d10v port.
* gas/d10v/address-002.l: Update expected assembler output.
* gas/d10v/address-003.l, gas/d10v/address-004.l,
gas/d10v/address-005.l, gas/d10v/address-006.l,
gas/d10v/address-007.l, gas/d10v/address-008.l,
gas/d10v/address-009.l, gas/d10v/address-010.l,
gas/d10v/address-011.l, gas/d10v/address-012.l,
gas/d10v/address-013.l, gas/d10v/address-014.l,
gas/d10v/address-015.l, gas/d10v/address-016.l,
gas/d10v/address-017.l, gas/d10v/address-018.l,
gas/d10v/address-019.l, gas/d10v/address-020.l,
gas/d10v/address-021.l, gas/d10v/address-022.l,
gas/d10v/address-023.l, gas/d10v/address-024.l,
gas/d10v/address-025.l, gas/d10v/address-026.l,
gas/d10v/address-027.l, gas/d10v/address-030.l,
gas/d10v/address-031.l, gas/d10v/address-032.l,
gas/d10v/address-033.l, gas/d10v/address-034.l,
gas/d10v/address-035.l, gas/d10v/address-036.l,
gas/d10v/address-037.l, gas/d10v/address-038.l,
gas/d10v/address-039.l, gas/d10v/address-040.l,
gas/d10v/address-041.l: Likewise.
2007-02-28 18:38:51 +00:00
Daniel Jacobowitz
35f196d907
* frame.c (frame_pop, frame_observer_target_changed): Call
...
reinit_frame_cache.
(flush_cached_frames): Rename to reinit_frame_cache and delete
old implementation.
* frame.h (flush_cached_frames): Delete prototype and update comment.
* bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
reinit_frame_cache instead of flush_cached_frames. Do not call
select_frame after reinit_frame_cache.
* corelow.c (core_open): Likewise.
* gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
* infrun.c (prepare_to_proceed, context_switch)
(handle_inferior_event): Likewise.
* linux-fork.c (fork_load_infrun_state): Likewise.
* ocd.c (ocd_start_remote): Likewise.
* remote-e7000.c (e7000_start_remote): Likewise.
* remote-mips.c (device): Likewise.
* thread.c (switch_to_thread): Likewise.
* tracepoint.c (finish_tfind_command): Likewise.
* gdbarch.c: Regenerated.
2007-02-28 17:35:01 +00:00
Daniel Jacobowitz
664e3ee9c3
* gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
...
func.
* gdb.mi/mi2-var-cmd.exp: Likewise.
2007-02-28 17:32:51 +00:00
Nick Clifton
2a7bf98e7d
PR ld/3796
...
* ld-arm/arm-elf.exp (armelftests): Move "Thumb-2 BL" test into...
(armeabitests): ... here, a new array for EABI specific tests.
(armelftests): Add extra command line options for VFP11 fix tests and thumb shared library test.
2007-02-28 17:14:39 +00:00
Joel Brobecker
c26f2453ab
* gdbtypes.c (check_typedef): Do not replace stub type if
...
the resolved type is not defined in the same objfile.
2007-02-28 16:35:49 +00:00
Joel Brobecker
e26f076c67
Move dw2-producer.* from gdb.arch to gdb.dwarf2 where it was supposed to
...
be checked in.
2007-02-28 16:28:17 +00:00
Daniel Jacobowitz
7d900f1a0b
* top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
2007-02-28 15:55:54 +00:00
Nick Clifton
aa32346d62
PR 3729: Fix unexpected failures in ARM GAS testsuite results.
2007-02-28 14:39:16 +00:00