H.J. Lu [Thu, 15 Mar 2007 14:20:32 +0000 (14:20 +0000)]
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Regenerated.
H.J. Lu [Thu, 15 Mar 2007 14:17:20 +0000 (14:17 +0000)]
bfd/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (bfdver.h): Substitute report_bugs_to. Also
create doc/bfdver.texi.
* Makefile.in: Regenerated.
* configure.in (--with-bugurl): New option.
* configure: Regenerated.
* version.h (REPORT_BUGS_TO): New.
binutils/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.
* bucomm.c: Don't include bfdver.h.
* objdump.c: Likewise.
* version.c: Likewise.
* bucomm.h: Include bfdver.h.
* configure.in (--with-bugurl): Removed.
* configure: Regenerated.
* doc/Makefile.am (binutils_TEXINFOS): Removed.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(config.texi): Removed.
(MOSTLYCLEANFILES): Remove config.texi.
* doc/Makefile.in: Regenerated.
* doc/binutils.texi: Include bfdver.texi instead of
config.texi.
gas/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.
* configure.in (--with-bugurl): Removed.
* configure: Regenerated.
* doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(gasver.texi): Removed.
(MOSTLYCLEANFILES): Remove gasver.texi.
(as.1): Don't depend on gasver.texi.
* doc/Makefile.in: Regenerated.
* doc/as.texi: Include bfdver.texi instead of gasver.texi.
gprof/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
* Makefile.in: Regenerated.
* configure.in (--with-bugurl): Removed.
* configure: Regenerated.
ld/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (ld_TEXINFOS): Remove ldver.texi.
(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
(TEXI2DVI): Likewise.
(REPORT_BUGS_TO): Removed.
(INCLUDES): Remove -DREPORT_BUGS_TO.
(ldver.texi): Likewise.
(ld.1): Don't depend on ldver.texi.
(MOSTLYCLEANFILES): Remove ldver.texi.
* Makefile.in: Regenerated.
* configure.in (--with-bugurl): Removed.
* configure: Regenerated.
* lexsup.c: Include bfdver.h.
* ld.texinfo: Include bfdver.texi instead of ldver.texi.
Daniel Jacobowitz [Thu, 15 Mar 2007 12:11:50 +0000 (12:11 +0000)]
gas/
* config/tc-arm.c (arm_copy_symbol_attributes): New.
* config/tc-arm.h (arm_copy_symbol_attributes): Declare.
(TC_COPY_SYMBOL_ATTRIBUTES): Define.
* gas/symbols.c (copy_symbol_attributes): Use
TC_COPY_SYMBOL_ATTRIBUTES.
gas/testsuite/
* gas/arm/thumbver.d, gas/arm/thumbver.s: New test.
gdbadmin [Thu, 15 Mar 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 14 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Paul Brook [Wed, 14 Mar 2007 21:12:13 +0000 (21:12 +0000)]
2007-03-14 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
gas/testsuite/
* gas/arm/thumb2_add.d: Add tests using sp.
* gas/arm/thumb2_add.s: Ditto.
Andreas Schwab [Wed, 14 Mar 2007 15:15:37 +0000 (15:15 +0000)]
* gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
format changes.
H.J. Lu [Wed, 14 Mar 2007 13:39:54 +0000 (13:39 +0000)]
* gas/all/gas.exp: Run relax.
Alan Modra [Wed, 14 Mar 2007 11:04:12 +0000 (11:04 +0000)]
PR 4029
* gas/all/relax.s: New.
* gas/all/relax.d: New.
* gas/all/gas.exp: Run it.
Alan Modra [Wed, 14 Mar 2007 11:03:38 +0000 (11:03 +0000)]
PR 4029
* write.c (relax_segment): Insert extra alignment padding
to break infinite relax loop when given impossible
gcc_except_table assembly.
H.J. Lu [Wed, 14 Mar 2007 03:26:06 +0000 (03:26 +0000)]
2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
H.J. Lu [Wed, 14 Mar 2007 02:56:45 +0000 (02:56 +0000)]
2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/3826
* elf-bfd.h (elf_backend_data): Add elf_osabi.
(_bfd_elf_set_osabi): New.
* elf.c (_bfd_elf_set_osabi): New.
* elf32-hppa.c (elf32_hppa_post_process_headers): Removed.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
(ELF_OSABI): Properly defined for each target.
* elf32-i370.c (i370_elf_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
* elf32-i386.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf_i386_post_process_headers): Set EI_OSABI with elf_osabi.
* elf32-msp430.c (elf32_msp430_post_process_headers): Removed.
(ELF_OSABI): Defined.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
* elf64-alpha.c (ELF_OSABI): Defined to ELFOSABI_FREEBSD for
freebsd.
(elf64_alpha_fbsd_post_process_headers): Set EI_OSABI with
elf_osabi.
* elf64-hppa.c (elf64_hppa_post_process_headers): Set EI_OSABI
with elf_osabi.
(ELF_OSABI): Properly defined for each target.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi for Linux.
* elf64-sparc.c (elf64_sparc_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
* elf64-x86-64.c (elf64_x86_64_fbsd_post_process_headers): Removed.
(ELF_OSABI): Defined to ELFOSABI_FREEBSD for freebsd.
(elf_backend_post_process_headers): Defined with
_bfd_elf_set_osabi.
* elfcode.h (elf_object_p): Match the ELFOSABI_NONE ELF target
with any ELF target of the compatible machine for which we do not
have a specific backend.
* elfxx-ia64.c (elfNN_hpux_post_process_headers): Set EI_OSABI
with elf_osabi.
* elfxx-target.h (ELF_OSABI): Default to ELFOSABI_NONE.
(elfNN_bed): Initialize elf_osabi with ELF_OSABI.
gdbadmin [Wed, 14 Mar 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 13 Mar 2007 23:00:37 +0000 (23:00 +0000)]
daily update
Daniel Jacobowitz [Tue, 13 Mar 2007 17:34:23 +0000 (17:34 +0000)]
* rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
(rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
(refine_prologue_limit): Delete.
(skip_prologue): Don't call it. Use extract_unsigned_integer.
Assume lim_pc is set. Correct check for incomplete prologues.
Do not skip clobbers of the frame pointer.
* symtab.c (skip_prologue_using_sal): Fail if there is only one
sal.
* gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
(optimized_1): New.
(main): Call optimized_1.
(gdb2029): Correct typos. Call gdb2029_marker.
* gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
for gdb2029.
Nick Clifton [Tue, 13 Mar 2007 17:17:15 +0000 (17:17 +0000)]
* readelf.c (dump_section): Also test for SHT_REL sections when producing
the warning about unapplied relocs.
Nathan Froyd [Tue, 13 Mar 2007 14:05:25 +0000 (14:05 +0000)]
* frame.c (frame_pop): Check to see whether there's a frame to
which we can pop first.
Nathan Froyd [Tue, 13 Mar 2007 14:00:53 +0000 (14:00 +0000)]
* MAINTAINERS (Write After Approval): Add myself.
gdbadmin [Tue, 13 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 12 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Mon, 12 Mar 2007 21:58:19 +0000 (21:58 +0000)]
* gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
as tabs. Remove redundant test pattern.
H.J. Lu [Mon, 12 Mar 2007 21:36:23 +0000 (21:36 +0000)]
2007-03-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
on i.tm.base_opcode.
(match_template): Likewise.
(process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
* config/tc-i386.h (Opcode_D): New.
(Opcode_FloatR): Likewise.
(Opcode_FloatD): Likewise.
(D): Redefined.
(W): Likewise.
(FloatMF): Likewise.
(FloatR): Likewise.
(FloatD): Likewise.
DJ Delorie [Mon, 12 Mar 2007 20:19:44 +0000 (20:19 +0000)]
2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate
gdbadmin [Mon, 12 Mar 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 11 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:48:27 +0000 (11:48 +0000)]
* emultempl/mmixelf.em: Remove incorrect '#line' directive.
Hans-Peter Nilsson [Sun, 11 Mar 2007 11:22:52 +0000 (11:22 +0000)]
* gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
Adjust for change in readelf output.
gdbadmin [Sun, 11 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 10 Mar 2007 23:00:09 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Sat, 10 Mar 2007 01:13:43 +0000 (01:13 +0000)]
* gdb.base/long_long.exp: Accept optional symbol name in <...>
for /a format output.
gdbadmin [Sat, 10 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alexandre Oliva [Fri, 9 Mar 2007 23:25:59 +0000 (23:25 +0000)]
* app.c (do_scrub_chars): Recognize comments after # line "file".
* read.c (get_linefile_number): New.
(s_app_line): Accept ill-formed .linefile lines as comments.
H.J. Lu [Fri, 9 Mar 2007 23:22:31 +0000 (23:22 +0000)]
2007-03-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_Rd): Renamed to ...
(OP_R): This.
(Rd): Updated.
(Rm): Likewise.
Alan Modra [Fri, 9 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Fri, 9 Mar 2007 16:20:42 +0000 (16:20 +0000)]
* infrun.c (breakpoints_failed): Remove unnecessary variable.
(handle_inferior_event): Remove unnecessary braces.
* breakpoint.c (bpstat_what): Remove wrong comment.
Daniel Jacobowitz [Fri, 9 Mar 2007 15:20:16 +0000 (15:20 +0000)]
* gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
collect output incrementally.
Alan Modra [Fri, 9 Mar 2007 12:35:37 +0000 (12:35 +0000)]
* config/tc-i386.h (WORKING_DOT_WORD): Define.
Alexandre Oliva [Fri, 9 Mar 2007 07:14:23 +0000 (07:14 +0000)]
* app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
* as.h (new_logical_line_flags): New.
* input-scrub.c (new_logical_line): Turned into wrapper for...
(new_logical_line_flags): this. Handle flags.
* read.c (potable): Add linefile. Adjust appline argument.
(s_app_file): Fake .appfiles no more.
(s_app_line): For .linefile, accept file name and flags.
Ulrich Weigand [Fri, 9 Mar 2007 03:51:04 +0000 (03:51 +0000)]
* spu-tdep.c (spu_in_function_epilogue_p): New function.
(spu_gdbarch_init): Install it.
Ulrich Weigand [Fri, 9 Mar 2007 02:20:04 +0000 (02:20 +0000)]
* gdb.mi/mi-var-cmd.exp: Allow value without "..." string
for -var-create lpcharacter test.
* gdb.mi/mi2-var-cmd.exp: Likewise.
Ulrich Weigand [Fri, 9 Mar 2007 01:14:12 +0000 (01:14 +0000)]
* gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
pass on targets where address zero is readable.
Ulrich Weigand [Fri, 9 Mar 2007 00:14:07 +0000 (00:14 +0000)]
* gdb.xml/tdesc-arch.exp: Test is unsupported on target with
just a single architecture.
gdbadmin [Fri, 9 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Thu, 8 Mar 2007 23:54:24 +0000 (23:54 +0000)]
* spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
object types, not 0.
Alan Modra [Thu, 8 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
Ulrich Weigand [Thu, 8 Mar 2007 21:32:22 +0000 (21:32 +0000)]
* spu-tdep.c (spu_frame_align): New function.
(spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
Ulrich Weigand [Thu, 8 Mar 2007 21:18:01 +0000 (21:18 +0000)]
* spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
(spu_software_single_step): Likewise.
(spu_read_pc, spu_write_pc): New functions.
(spu_gdbarch_init): Install them.
Ulrich Weigand [Thu, 8 Mar 2007 20:08:02 +0000 (20:08 +0000)]
* gdb.base/callfuncs.exp (do_get_all_registers): Remove.
(fetch_all_registers): New function, uses gdb_test_multiple and
exp_continue to fetch inferior output line-by-line.
Replace all uses of do_get_all_registers by fetch_all_registers.
Ulrich Weigand [Thu, 8 Mar 2007 17:59:13 +0000 (17:59 +0000)]
* gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
in target_info.
Richard Sandiford [Thu, 8 Mar 2007 17:54:29 +0000 (17:54 +0000)]
ld/testsuite/
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address
to 0.
Ulrich Weigand [Thu, 8 Mar 2007 16:54:02 +0000 (16:54 +0000)]
* cli/cli-dump.c (struct callback_data): load_offset needs to
have signed long type.
Alan Modra [Thu, 8 Mar 2007 11:38:58 +0000 (11:38 +0000)]
duh. commit correct version of patch.
Alan Modra [Thu, 8 Mar 2007 11:28:35 +0000 (11:28 +0000)]
include/elf/
* v850.h (V850_OTHER_TDA_BYTE): Delete.
(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
that don't clash with visibility bits.
bfd/
* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
V850_OTHER_* bits.
Alan Modra [Thu, 8 Mar 2007 11:14:20 +0000 (11:14 +0000)]
Regenerate.
Alan Modra [Thu, 8 Mar 2007 06:59:25 +0000 (06:59 +0000)]
* symbols.c (symbol_relc_make_sym): Comment typo fixes.
Alan Modra [Thu, 8 Mar 2007 06:56:20 +0000 (06:56 +0000)]
* m32r.opc: Formatting.
Alan Modra [Thu, 8 Mar 2007 05:36:12 +0000 (05:36 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
Alan Modra [Thu, 8 Mar 2007 05:35:31 +0000 (05:35 +0000)]
regenerate
Alan Modra [Thu, 8 Mar 2007 05:35:01 +0000 (05:35 +0000)]
* Makefile.am (BFD64_BACKENDS): Add efi-app-x86_64.lo.
(BFD64_BACKENDS_CFILES): Add efi-app-x86_64.c.
Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
Alan Modra [Thu, 8 Mar 2007 04:38:45 +0000 (04:38 +0000)]
* ldlang.c (lang_size_sections_1): Correct backwards dot move
test to not trigger on overlays. Only warn on backwards move
if non-default lma.
gdbadmin [Thu, 8 Mar 2007 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 7 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
Joseph Myers [Wed, 7 Mar 2007 22:50:01 +0000 (22:50 +0000)]
binutils:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* doc/Makefile.am (config.texi): Define BUGURL.
* doc/binutils.texi: Use BUGURL. Remove text about large files
and uuencoding.
* Makefile.in, configure, doc/Makefile.in: Regenerate.
gas:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* doc/Makefile.am (gasver.texi): Define BUGURL.
* doc/as.texinfo: Use BUGURL.
* Makefile.in, configure, doc/Makefile.in: Regenerate.
ld:
* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
bug-reporting URL.
* Makefile.am (ldver.texi): Define BUGURL.
* ld.texinfo: Use BUGURL.
* Makefile.in, configure: Regenerate.
H.J. Lu [Wed, 7 Mar 2007 21:35:28 +0000 (21:35 +0000)]
2007-03-07 H.J. Lu <hongjiu.lu@intel.com>
* config.bfd (x86_64-*-freebsd*): Add bfd_efi_app_x86_64_vec.
(x86_64-*-kfreebsd*-gnu): Likewise.
(x86_64-*-netbsd*): Likewise.
(x86_64-*-openbsd*): Likewise.
(x86_64-*-linux-*): Likewise.
* configure.in: Support bfd_efi_app_x86_64_vec.
* configure: Regenerated.
* efi-app-x86_64.c: New file.
* targets.c (bfd_efi_app_x86_64_vec): New.
(_bfd_target_vector): Add bfd_efi_app_x86_64_vec.
Joel Brobecker [Wed, 7 Mar 2007 21:32:47 +0000 (21:32 +0000)]
* mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
Revert the previous change that had some unexpected side-effects
on mips32.
(mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
function to get the address of the calling instruction.
H.J. Lu [Wed, 7 Mar 2007 14:40:33 +0000 (14:40 +0000)]
2007-03-07 Kai Tietz <kai.tietz@onevision.com>
* reloc.c (bfd_generic_get_relocated_section_contents): Remove
const for type reloc_howto_type.
Andreas Schwab [Wed, 7 Mar 2007 14:02:20 +0000 (14:02 +0000)]
* configure: Regenerate.
config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.
Denis Pilat [Wed, 7 Mar 2007 10:29:47 +0000 (10:29 +0000)]
* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
get_selected_frame by deprecated_safe_get_selected_frame.
Alan Modra [Wed, 7 Mar 2007 10:25:11 +0000 (10:25 +0000)]
xfail hppa
Alan Modra [Wed, 7 Mar 2007 10:18:56 +0000 (10:18 +0000)]
* common.h (ELF_ST_VISIBILITY): Comment typo fix.
Alan Modra [Wed, 7 Mar 2007 08:54:35 +0000 (08:54 +0000)]
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.
Nick Clifton [Wed, 7 Mar 2007 07:52:09 +0000 (07:52 +0000)]
PR ld/4023
* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
from any paths being inserted into the output binary's DT_RPATH.
H.J. Lu [Wed, 7 Mar 2007 03:58:44 +0000 (03:58 +0000)]
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.
Alan Modra [Wed, 7 Mar 2007 02:14:40 +0000 (02:14 +0000)]
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.
gdbadmin [Wed, 7 Mar 2007 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 6 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
DJ Delorie [Tue, 6 Mar 2007 19:00:57 +0000 (19:00 +0000)]
merge from gcc
Martin Schwidefsky [Tue, 6 Mar 2007 13:19:08 +0000 (13:19 +0000)]
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.
H.J. Lu [Tue, 6 Mar 2007 02:08:25 +0000 (02:08 +0000)]
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.
gdbadmin [Tue, 6 Mar 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
DJ Delorie [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
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.
+
Alan Modra [Mon, 5 Mar 2007 23:00:07 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 5 Mar 2007 22:15:41 +0000 (22:15 +0000)]
merge from gcc
gdbadmin [Mon, 5 Mar 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 4 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 4 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 3 Mar 2007 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sat, 3 Mar 2007 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 2 Mar 2007 23:00:06 +0000 (23:00 +0000)]
daily update
Michael Snyder [Fri, 2 Mar 2007 22:16:06 +0000 (22:16 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.threads/manythreads.exp: Use $message string for
consistancy; add a default (timeout) case.
Michael Snyder [Fri, 2 Mar 2007 22:11:15 +0000 (22:11 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* gdb.base/watchpoint.exp: Fix truncated comment.
Mark Kettenis [Fri, 2 Mar 2007 21:28:18 +0000 (21:28 +0000)]
* 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.
Nathan Sidwell [Fri, 2 Mar 2007 21:02:48 +0000 (21:02 +0000)]
* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
Michael Snyder [Fri, 2 Mar 2007 18:42:40 +0000 (18:42 +0000)]
2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
* Makefile.in: Remove spurious single-quotes from sed command.
Paul Brook [Fri, 2 Mar 2007 18:22:59 +0000 (18:22 +0000)]
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.
Paul Brook [Fri, 2 Mar 2007 18:22:34 +0000 (18:22 +0000)]
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.
Daniel Jacobowitz [Fri, 2 Mar 2007 12:15:01 +0000 (12:15 +0000)]
2007-03-02 Andrew Stubbs <andrew.stubbs@st.com>
* gencode.c (tab): Correct pre-decrement instructions when m == n.
Richard Sandiford [Fri, 2 Mar 2007 09:20:13 +0000 (09:20 +0000)]
ld/testsuite/
* ld-elf/binutils.exp: Revert last change.
gdbadmin [Fri, 2 Mar 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Bob Wilson [Thu, 1 Mar 2007 23:38:03 +0000 (23:38 +0000)]
* 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.