OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
16 years agodaily update
Alan Modra [Sun, 2 Sep 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agobfd/
H.J. Lu [Sat, 1 Sep 2007 06:09:20 +0000 (06:09 +0000)]
bfd/

2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4986
* dwarf2.c (new_line_sorts_after): Also compare line number.

ld/testsuite/

2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/4986
* ld-x86-64/line.exp: New
* ld-x86-64/undefined.s: Likewise.

16 years agodaily update
Alan Modra [Sat, 1 Sep 2007 00:00:09 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 31 Aug 2007 20:55:13 +0000 (20:55 +0000)]
2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
(dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
(opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.

16 years agomerge from gcc
DJ Delorie [Fri, 31 Aug 2007 20:20:49 +0000 (20:20 +0000)]
merge from gcc

16 years agogas/testsuite/
H.J. Lu [Fri, 31 Aug 2007 18:48:29 +0000 (18:48 +0000)]
gas/testsuite/

2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/svme.s: Updated to accept eax in 32bit and rax in
64bit.
* gas/i386/svme.d: Updated.
* gas/i386/svme64.d: Likewise.

opcodes/

2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (SVME_Fixup): Removed.
(OPC_EXT_39): New.
(OPC_EXT_RM_6): Likewise.
(grps): Use OPC_EXT_39.
(opc_ext_table): Add OPC_EXT_39.
(opc_ext_rm_table): Add OPC_EXT_RM_6.

* i386-opc.tbl: Correct SVME instructions to take register
operand only.
* i386-tbl.h: Regenerated.

16 years ago2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 31 Aug 2007 15:06:11 +0000 (15:06 +0000)]
2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerated.

* sysdep.h: Include "config.h" first.

16 years ago* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non zerofill sections.
Nick Clifton [Fri, 31 Aug 2007 14:55:24 +0000 (14:55 +0000)]
* mach-o.c (bfd_mach_o_make_bfd_section): Fix test for non zerofill sections.

16 years ago2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 31 Aug 2007 14:55:10 +0000 (14:55 +0000)]
2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
* Makefile.in: Regenerated.

* configure.in (AC_GNU_SOURCE): Added.
(AC_PROG_CC): Moved before AC_GNU_SOURCE.
(AC_CHECK_DECLS): Add stpcpy.
* configure: Regenerated.
* config.in: Likewise.

* i386-dis.c: Include "sysdep.h" before "dis-asm.h".

* sysdep.h (stpcpy): New.

16 years ago* ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressio...
Nick Clifton [Fri, 31 Aug 2007 14:46:55 +0000 (14:46 +0000)]
* ldlang.c (lang_map): Increment lang_statement_iteration so that DEFINED() expressions are correctly computed.
* testsuite/ld-script/map-address.d,
* testsuite/ld-script/map-address.t: Add a test for testing DEFINED in map output.

16 years ago* po/sk.po: New Slovakian translation.
Nick Clifton [Fri, 31 Aug 2007 10:32:43 +0000 (10:32 +0000)]
* po/sk.po: New Slovakian translation.
* configure.in (LINGUAS): Add sk.
* configure: Regenerate.

16 years ago * ldlang.c (lang_record_phdrs): Give a fatal error if no sections
Alan Modra [Fri, 31 Aug 2007 00:39:53 +0000 (00:39 +0000)]
* ldlang.c (lang_record_phdrs): Give a fatal error if no sections
assigned to phdrs.  Avoid multiple forward scans for a section
with phdr assignment.

16 years agodaily update
Alan Modra [Fri, 31 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agoMove changelog
Richard Sandiford [Thu, 30 Aug 2007 20:22:12 +0000 (20:22 +0000)]
Move changelog

16 years agogas/testsuite/
H.J. Lu [Thu, 30 Aug 2007 15:13:46 +0000 (15:13 +0000)]
gas/testsuite/

2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/amd.s: Add rdtscp.
* gas/i386/amd.d: Updated.

* gas/i386/mem-intel.d: Update invlpg for BYTE PTR.
* gas/i386/x86-64-mem-intel.d: Likewise.

* gas/i386/x86-64-opcode.s: Add swapgs.
* gas/i386/x86-64-opcode.d: Updated.

opcodes/

2007-08-30  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (INVLPG_Fixup): Removed.
(OPC_EXT_38): New.
(OPC_EXT_RM_5): Likewise.
(grps): Use OPC_EXT_38.
(opc_ext_table): Add OPC_EXT_38.
(opc_ext_rm_table): Add OPC_EXT_RM_5.

16 years ago* readelf.c (dump_type): New type used to classify the kinds of dump requested by...
Nick Clifton [Thu, 30 Aug 2007 13:47:35 +0000 (13:47 +0000)]
* readelf.c (dump_type): New type used to classify the kinds of dump requested by the user.
  (dump_sects, cmdline_dump_sects): Use the new type.
  (options): Add --string-dump option.
  (request_dump): Rename to request_dump_bynumber.  Use dump_type.
  (request_dump_byname): Use dump_type.
  (parse_args): Parse --string-dump option.
  (process_section_headers): Fix calls to request_dump.
  (initialise_dumps_byname): Likewise.
  (dump_section): Rename to dump_section_as_bytes.
  (dump_section_as_strings): New function.  Display the contents of a section as printable strings.
  (process_section_contents): String dump the section if requested.
  (process_object): Use dump_type.
  (main): Likewise.
* Makefile.am: Add dependency for readelf.c on safe-ctype.h.
* Makefile.in: Regenerate.
* NEWS: Mention the new feature.
* doc/binutils.texi: Document the new feature.
* testsuite/binutils-all/dumptest.s: New test file.
* testsuite/binutils-all/readelf.exp: Add test of readelf's -p switch.

16 years agoUpdated Finnish translation
Nick Clifton [Thu, 30 Aug 2007 13:30:59 +0000 (13:30 +0000)]
Updated Finnish translation

16 years ago * bucomm.c (bfd_nonfatal_message): New.
Nathan Sidwell [Thu, 30 Aug 2007 10:19:03 +0000 (10:19 +0000)]
* bucomm.c (bfd_nonfatal_message): New.
* bucomm.h (bfd_nonfatal_message): Declare.
* objcopy.c (RETURN_NONFATAL): Take BFD not NAME, use
bfd_nonfatal_message.
(copy_unknown_object): Adjust bfd_nonfatal and RETURN_NONFATAL
calls, or replace with bfd_nonfatal_message calls as appropriate.
(copy_object, copy_archive, copy_file, setup_section,
copy_section, write_debugging_info): Likewise.

16 years ago2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 30 Aug 2007 05:01:32 +0000 (05:01 +0000)]
2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (SIMD_Fixup): Removed.
(OPC_EXT_34...OPC_EXT_37): New.
(dis386_twobyte): Use OPC_EXT_34 and OPC_EXT_35.
(prefix_user_table): Use OPC_EXT_36 and OPC_EXT_37.
(opc_ext_table): Add OPC_EXT_34...OPC_EXT_37.

16 years agodaily update
Alan Modra [Thu, 30 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 29 Aug 2007 21:25:02 +0000 (21:25 +0000)]
2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OPC_EXT_25...OPC_EXT_33): New.
(dis386): Use OPC_EXT_0...OPC_EXT_2.
(dis386_twobyte): Use OPC_EXT_3...OPC_EXT_5.
(grps): Updated to use OPC_EXT_6...OPC_EXT_31.
(prefix_user_table): Use OPC_EXT_32.
(x86_64_table): Use OPC_EXT_33.
(opc_ext_table): Reorder and add OPC_EXT_25...OPC_EXT_33.

16 years ago * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
Daniel Jacobowitz [Wed, 29 Aug 2007 20:03:43 +0000 (20:03 +0000)]
* dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.

* gas/lns/lns-duplicate.d, gas/lns/lns-duplicate.s: New.
* gas/lns/lns.exp: Run lns-duplicate.

16 years ago2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 29 Aug 2007 19:42:36 +0000 (19:42 +0000)]
2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-reg and x86-64-reg-intel.

* gas/i386/x86-64-reg.s: New. Add tests for instructions
with one register operand.
* gas/i386/x86-64-reg-intel.d: Likewise.
* gas/i386/x86-64-reg.d: Likewise.

16 years agoCorrect ChangeLog entries.
H.J. Lu [Wed, 29 Aug 2007 19:36:10 +0000 (19:36 +0000)]
Correct ChangeLog entries.

16 years ago2007-08-29 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 29 Aug 2007 17:12:47 +0000 (17:12 +0000)]
2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (prefix_user_table): Fix comment.

16 years agogas/testsuite/
H.J. Lu [Wed, 29 Aug 2007 15:34:42 +0000 (15:34 +0000)]
gas/testsuite/

2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run reg and reg-intel.

* gas/i386/katmai.d: Update bad instructions.

* gas/i386/reg.s: New. Add tests for instructions with one
register operand.
* gas/i386/reg-intel.d: Likewise.
* gas/i386/reg.d: Likewise.

opcodes/

2007-08-29  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (OP_Skip_MODRM): New.
(OP_Monitor): Likewise.
(OP_Mwait): Likewise.
(Mb): Likewise.
(Skip_MODRM): Likewise.
(USE_OPC_EXT_TABLE): Likewise.
(USE_OPC_EXT_RM_TABLE): Likewise.
(PREGRP98...PREGRP100): Likewise.
(OPC_EXT_0...OPC_EXT_24): Likewise.
(OPC_EXT_RM_0...OPC_EXT_RM_4): Likewise.
(lock_prefix): Likewise.
(data_prefix): Likewise.
(addr_prefix): Likewise.
(repz_prefix): Likewise.
(repnz_prefix): Likewise.
(opc_ext_table): Likewise.
(opc_ext_rm_table): Likewise.
(get_valid_dis386): Likewise.
(OP_VMX): Removed.
(OP_0fae): Likewise.
(PNI_Fixup): Likewise.
(VMX_Fixup): Likewise.
(VM): Likewise.
(twobyte_uses_DATA_prefix): Likewise.
(twobyte_uses_REPNZ_prefix): Likewise.
(twobyte_uses_REPZ_prefix): Likewise.
(threebyte_0x38_uses_DATA_prefix): Likewise.
(threebyte_0x38_uses_REPNZ_prefix): Likewise.
(threebyte_0x38_uses_REPZ_prefix): Likewise.
(threebyte_0x3a_uses_DATA_prefix): Likewise.
(threebyte_0x3a_uses_REPNZ_prefix): Likewise.
(threebyte_0x3a_uses_REPZ_prefix): Likewise.
(grps): Use OPC_EXT_0...OPC_EXT_24.
(prefix_user_table): Use PREGRP98.
(print_insn): Remove uses_DATA_prefix, uses_LOCK_prefix,
uses_REPNZ_prefix and uses_REPZ_prefix.  Initialize
repz_prefix, repnz_prefix, lock_prefix, addr_prefix and
data_prefix based on prefixes.  Call get_valid_dis386 to
get a pointer to the valid dis386.  Print out prefixes if
they aren't NULL.
(OP_C): Clear lock_prefix if PREFIX_LOCK is used.
(REP_Fixup): Set repz_prefix to "rep " when seeing
PREFIX_REPZ.

16 years ago* config.sub, config.guess: Update from upstream sources.
Nick Clifton [Wed, 29 Aug 2007 15:23:21 +0000 (15:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago* config.sub: Add support for cr16 target.
Nick Clifton [Wed, 29 Aug 2007 08:57:40 +0000 (08:57 +0000)]
* config.sub: Add support for cr16 target.

16 years agoAny symbol which is in both a regular object and a dynamic object
Ian Lance Taylor [Wed, 29 Aug 2007 05:48:24 +0000 (05:48 +0000)]
Any symbol which is in both a regular object and a dynamic object
requires an entry in the dynamic symbol table.

16 years agoCopy in_reg and in_dyn when resolving NAME/VERSION with NAME/NULL.
Ian Lance Taylor [Wed, 29 Aug 2007 03:42:51 +0000 (03:42 +0000)]
Copy in_reg and in_dyn when resolving NAME/VERSION with NAME/NULL.

16 years agodaily update
Alan Modra [Wed, 29 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago * doc/c-arc.texi: Fix typo.
Daniel Jacobowitz [Tue, 28 Aug 2007 21:53:00 +0000 (21:53 +0000)]
* doc/c-arc.texi: Fix typo.

16 years agofile fi.gmo was initially added on branch binutils-2_18-branch.
Daniel Jacobowitz [Tue, 28 Aug 2007 20:41:01 +0000 (20:41 +0000)]
file fi.gmo was initially added on branch binutils-2_18-branch.

16 years ago * po/nl.po: Updated translation.
Daniel Jacobowitz [Tue, 28 Aug 2007 20:04:13 +0000 (20:04 +0000)]
* po/nl.po: Updated translation.

16 years ago2007-08-28 David Heine <dlheine@tensilica.com>
Bob Wilson [Tue, 28 Aug 2007 18:43:03 +0000 (18:43 +0000)]
2007-08-28  David Heine  <dlheine@tensilica.com>
* elf32-xtensa.c (compute_ebb_actions): Update removed_bytes when
narrowing instructions.

16 years agogas/
H.J. Lu [Tue, 28 Aug 2007 17:36:34 +0000 (17:36 +0000)]
gas/

2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (process_suffix): Handle cmpxchg8b in
Intel mode.

gas/testsuite/

2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/mem.s: New. Add tests for instructions with one
memory operand.
* gas/i386/x86-64-mem.s: Likewise.

* gas/i386/mem-intel.d: Updated.
* gas/i386/mem.d: Likewise.
* gas/i386/x86-64-mem-intel.d: Likewise.
* gas/i386/x86-64-mem.d: Likewise.

opcodes/

2007-08-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (Md): New.
(grps): Use 0 on invlpg.  Use M on fxsave and fxrstor.  Use
Md on ldmxcsr and stmxcsr.  Use b_mode on clflush.
(OP_0fae): Clear bytemode for sfence.

16 years ago * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
Kazu Hirata [Tue, 28 Aug 2007 13:43:06 +0000 (13:43 +0000)]
* config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
(mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
(mcf5407_ctrl): New.
(m68k_cpus): Adjust 5407 entry.

16 years ago * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
Kazu Hirata [Tue, 28 Aug 2007 13:36:35 +0000 (13:36 +0000)]
* config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
(m68k_cpus): Define 51QE cpu.

16 years agobfd:
Joseph Myers [Tue, 28 Aug 2007 13:21:58 +0000 (13:21 +0000)]
bfd:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* elf32-arm.c (elf32_arm_compare_mapping): Compare first on vma,
then on type.

binutils/testsuite:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* binutils-all/ar.exp (long_filenames): Delete temporary files on
the host.
* binutils-all/arm/objdump.exp: Only check "which $OBJDUMP" if
host is local.
* binutils-all/objcopy.exp: Use ${srecfile} to get the name of the
srec file to be passed to binutils_run.
(objcopy_test_readelf): Use remote_exec.
* binutils-all/readelf.exp (readelf_find_size): Use remote_exec.
(readelf_test): Likewise.
(readelf_wi_test): Likewise.
* lib/utils-lib.exp (run_dump_test): Only check "which $binary" if
host is local.  Use remote_exec.  Use $tempfile not
tmpdir/bintest.o.

gas:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* as.c (main): Flush stderr before printing listings to ensure
consistent output order across platforms.

gas/testsuite:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* lib/gas-defs.exp (gas_version): Use remote_* functions instead
of exec.
(gas_host_run): New.
(gas_run): Use gas_host_run.
(gas_start): Likewise.
(run_dump_test): Likewise.
(objdump): Use gas_host_run.
(objdump_start_no_subdir): Likewise.
* lib/gas-dg.exp (gas-dg-test): Use "remote_file host delete".
* lib/run: Remove.
* gas/macros/macros.exp: Download app4b.s to host.
* gas/i386/i386.exp (gas_64_check): Use gas_host_run.
(gas_32_check): Likewise.
* gas/maxq10/maxq10.exp (gas_64_check): Likewise
(gas_32_check): Likewise.
* gas/maxq20/maxq20.exp (gas_64_check): Likewise
(gas_32_check): Likewise.
* gas/sparc/sparc.exp (gas_64_check): Likewise.
* gas/cfi/cfi.exp: Likewise.
* gas/elf/elf.exp (run_list_test): Likewise.  Use temporary file
for readelf output in place of pipe.
* gas/all/gas.exp: Download incbin.dat to host.
(do_comment): Allow \r\r\n.

ld:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ldlang.c (sort_sections_by_lma): Sort by internal id after lma
for stable sort.

ld/testsuite:
2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* ld-elfcomm/elfcomm.exp: Use run_host_cmd.  Only check "which
$CC" if host is local.
* ld-checks/checks.exp: Use run_host_cmd.
* ld-elf/exclude.exp: Likewise.
* ld-elf/elf.exp: Download merge.ld if host is remote.
* ld-elf/binutils.exp (binutils_test): Use remote_exec.
* ld-elf/tls_common.exp: Use run_host_cmd.
* lib/ld-lib.exp (ld_version): Only check "which $ld" if host is
local.  Use remote_exec.
(run_host_cmd): New.
(run_host_cmd_yesno): New.
(default_ld_relocate): Use run_host_cmd_yesno.
(default_ld_link): Likewise.
(default_ld_simple_link): Use run_host_cmd.
(default_ld_compile): Only check "which $ccprog" if host is local.
Use remote_file and remote_exec.
(default_ld_assemble): Only check "which $as" if host is local.
Use run_host_cmd.
(default_ld_nm): Use remote_exec, remote_upload and remote_file.
(run_dump_test): Use remote_exec, remote_upload and remote_file.
Only check "which $binary" if host is local.
(run_ld_link_tests): Use remote_exec, remote_upload and
remote_file.
* ld-selective/selective.exp: Only check "which $CXX" if host is
local.  Use remote_exec.
* ld-scripts/phdrs.exp: Only check "which $objdump" if host is
local.  Use run_host_cmd.
* ld-scripts/phdrs2.exp: Likewise.
* ld-scripts/weak.exp: Likewise.
* ld-undefined/weak-undef.exp: Likewise.
* ld-scripts/crossref.exp: Only check "which $CC" if host is local.
Use run_host_cmd.
* ld-scripts/map-address.exp: Upload map_address.map if host is
remote.
* ld-srec/srec.exp (run_srec_tests): Use run_host_cmd.  Only check
"which $CC" and "which $CXX" if host is local.
* ld-undefined/undefined.exp: Only check "which $CC" if host is
local.  Use remote_file and run_host_cmd.
* config/default.exp: Use remote_exec to create tmpdir.

16 years agoMention Coverity's contribution to bfd
Nick Clifton [Tue, 28 Aug 2007 11:56:08 +0000 (11:56 +0000)]
Mention Coverity's contribution to bfd

16 years agoAdd support for i386-dragonfly target.
Nick Clifton [Tue, 28 Aug 2007 11:02:55 +0000 (11:02 +0000)]
Add support for i386-dragonfly target.

16 years agoSet in_dyn_ and in_reg_ when overriding a symbol.
Ian Lance Taylor [Tue, 28 Aug 2007 04:12:19 +0000 (04:12 +0000)]
Set in_dyn_ and in_reg_ when overriding a symbol.

16 years agoInitialize plt_offset_ and has_plt_offset_ in a Symbol.
Ian Lance Taylor [Tue, 28 Aug 2007 04:11:50 +0000 (04:11 +0000)]
Initialize plt_offset_ and has_plt_offset_ in a Symbol.

16 years agodaily update
Alan Modra [Tue, 28 Aug 2007 01:57:39 +0000 (01:57 +0000)]
daily update

16 years agodaily update
Alan Modra [Mon, 27 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 26 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years agoinclude/elf/
Alan Modra [Sat, 25 Aug 2007 13:20:41 +0000 (13:20 +0000)]
include/elf/
* common.h (NT_SPU): Define.
bfd/
* elf.c (elfcore_grok_spu_note): New function.
(elf_parse_notes): Call it.
binutils/
* readelf.c (process_note): Recognize SPU core file notes.

16 years agodaily update
Alan Modra [Sat, 25 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-24 Joseph Myers <joseph@codesourcery.com>
Joseph Myers [Fri, 24 Aug 2007 21:49:55 +0000 (21:49 +0000)]
2007-08-24  Joseph Myers  <joseph@codesourcery.com>
            Paul Brook  <paul@codesourcery.com>

* remap.c: New.
* as.h (remap_debug_filename, add_debug_prefix_map): Declare.
* as.c (show_usage): Document --debug-prefix-map option.
(parse_args): Handle --debug-prefix-map.
* dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
* stabs.c (stabs_generate_asm_file): Remap debug paths.
* Makefile.am (GAS_CFILES): Add remap.c
(GENERIC_OBJS): Add remap.o.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/as.texinfo (--debug-prefix-map): Document.

16 years ago2007-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Aug 2007 21:47:53 +0000 (21:47 +0000)]
2007-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_relocate_section): Adjust
indentation.

16 years ago * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T
Pedro Alves [Fri, 24 Aug 2007 21:29:19 +0000 (21:29 +0000)]
* elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T
guard.  Make it host independent.
(elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around
NT_WIN32PSTATUS.

16 years ago2007-08-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 24 Aug 2007 19:39:19 +0000 (19:39 +0000)]
2007-08-24  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/i386.exp (i386tests): Add a test for TLS IE->LE
transition.
Run tlsie2, tlsie3, tlsie4 and tlsie5.

* ld-i386/tlsie1.dd: New file.
* ld-i386/tlsie1.s: Likewise.
* ld-i386/tlsie2.d: Likewise.
* ld-i386/tlsie2.s: Likewise.
* ld-i386/tlsie3.d: Likewise.
* ld-i386/tlsie3.s: Likewise.
* ld-i386/tlsie4.d: Likewise.
* ld-i386/tlsie4.s: Likewise.
* ld-i386/tlsie5.d: Likewise.
* ld-i386/tlsie5.s: Likewise.
* ld-x86-64/tlsgd2.d: Likewise.
* ld-x86-64/tlsgd2.s: Likewise.
* ld-x86-64/tlsgd3.d: Likewise.
* ld-x86-64/tlsgd3.s: Likewise.
* ld-x86-64/tlsie1.dd: Likewise.
* ld-x86-64/tlsie1.s: Likewise.
* ld-x86-64/tlsie2.d: Likewise.
* ld-x86-64/tlsie2.s: Likewise.
* ld-x86-64/tlsie3.d: Likewise.
* ld-x86-64/tlsie3.s: Likewise.

* ld-x86-64/x86-64.exp (x86_64tests): Add a test for TLS LD->LE
transition.
Run tlsgd2, tlsgd3, tlsie2 and tlsie3.

16 years ago2007-08-24 Aurelien Jarno <aurel32@debian.org>
Daniel Jacobowitz [Fri, 24 Aug 2007 16:59:16 +0000 (16:59 +0000)]
2007-08-24  Aurelien Jarno  <aurel32@debian.org>

* config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
before printing them.

16 years agomerge from gcc
DJ Delorie [Fri, 24 Aug 2007 16:08:40 +0000 (16:08 +0000)]
merge from gcc

16 years ago * configure.in: Install embedspu on powerpc*-*-eabi* also.
Daniel Jacobowitz [Fri, 24 Aug 2007 15:37:37 +0000 (15:37 +0000)]
* configure.in: Install embedspu on powerpc*-*-eabi* also.
* configure: Regenerated.

16 years agoFixed formatting of the ChangeLog BUILD_ID entry.
Jan Kratochvil [Fri, 24 Aug 2007 15:13:46 +0000 (15:13 +0000)]
Fixed formatting of the ChangeLog BUILD_ID entry.

16 years ago2007-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Fri, 24 Aug 2007 15:11:13 +0000 (15:11 +0000)]
2007-08-24  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID.
* elf.c (elfcore_read_notes): Split to ...
(elf_read_notes) ... here ...
(elf_parse_notes): ... and here.  Check `bfd_get_format (abfd)' with
the former subfunctions called only for BFD_CORE.
Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU".
(_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs.
(bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES.
(elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions.
Code advisory: Roland McGrath

16 years agoTranslation updates.
Daniel Jacobowitz [Fri, 24 Aug 2007 14:05:35 +0000 (14:05 +0000)]
Translation updates.

16 years ago * elf64-mips.c (elf_backend_sign_extend_vma): Define.
Daniel Jacobowitz [Fri, 24 Aug 2007 13:46:32 +0000 (13:46 +0000)]
* elf64-mips.c (elf_backend_sign_extend_vma): Define.

16 years ago * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
Alan Modra [Fri, 24 Aug 2007 04:31:24 +0000 (04:31 +0000)]
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.

16 years ago * config/tc-i386.c (lex_got): Don't scan past a comma.
Alan Modra [Fri, 24 Aug 2007 04:18:37 +0000 (04:18 +0000)]
* config/tc-i386.c (lex_got): Don't scan past a comma.

16 years agobinutils/
Ben Elliston [Fri, 24 Aug 2007 00:56:30 +0000 (00:56 +0000)]
binutils/
* doc/binutils.texi (objdump): Document -Mppcps.

gas/
* config/tc-ppc.c (parse_cpu): Handle "750cl".
(pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
(md_show_usage): Document -m750cl.
(md_assemble): Handle two delimiters in succession (eg. `),').
* doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
* testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
* testsuite/gas/ppc/ppc750ps.s: New file.
* testsuite/gas/ppc/ppc750ps.d: Likewise.

include/opcode/
* ppc.h (PPC_OPCODE_PPCPS): New.

opcodes/
* ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
(XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
(PPCPS): Likewise.
(powerpc_opcodes): Add all pair singles instructions.
* ppc-dis.c (powerpc_dialect): Handle "ppcps".
(print_ppc_disassembler_options): Document -Mppcps.

16 years agodaily update
Alan Modra [Fri, 24 Aug 2007 00:00:08 +0000 (00:00 +0000)]
daily update

16 years ago Switch the license of all .h files to GPLv3.
Joel Brobecker [Thu, 23 Aug 2007 18:17:33 +0000 (18:17 +0000)]
    Switch the license of all .h files to GPLv3.

16 years ago2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 23 Aug 2007 16:29:49 +0000 (16:29 +0000)]
2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.

16 years agobfd/
H.J. Lu [Thu, 23 Aug 2007 16:13:37 +0000 (16:13 +0000)]
bfd/

2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c: Include "bfd_stdint.h".
(elf_i386_rtype_to_howto): New function.
(elf_i386_info_to_howto_rel): Use it.
(x86_64_opcode16): New union type.
(elf_i386_check_tls_transition): New function.
(elf_i386_tls_transition): Updated to check transition and
issue an error if a transition isn't supported.
(elf_i386_check_relocs): Return FALSE if
elf_i386_tls_transition returns FALSE.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_relocate_section): Likewise. Remove BFD_ASSERT
on TLS transitions.

* elf64-x86-64.c: Include "bfd_stdint.h".
(x86_64_opcode16): New union type.
(x86_64_opcode32): Likewise.
(elf64_x86_64_check_tls_transition): New function.
(elf64_x86_64_tls_transition): Updated to check transition and
issue an error if a transition isn't supported.
(elf64_x86_64_check_relocs): Return FALSE if
elf64_x86_64_tls_transition returns FALSE.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT
on TLS transitions.

ld/testsuite/

2007-08-23  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/tlsbinpic.s: Add a new GD -> IE test.

* ld-i386/tlsgd1.s: Add a new GD -> LE test.

* ld-i386/tlsbin.dd: Updated.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsgd1.dd: Likewise.

16 years ago * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
Ben Elliston [Thu, 23 Aug 2007 02:05:58 +0000 (02:05 +0000)]
* doc/c-arm.texi (ARM Directives): Move brackets out of @vars.

16 years agodaily update
Alan Modra [Thu, 23 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoRecognize and ignore the --eh-frame-hdr option.
Ian Lance Taylor [Wed, 22 Aug 2007 17:07:36 +0000 (17:07 +0000)]
Recognize and ignore the --eh-frame-hdr option.

16 years ago2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 22 Aug 2007 16:01:12 +0000 (16:01 +0000)]
2007-08-22  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c: Convert to ISO C90 prototypes.
(elfNN_hpux_backend_section_from_bfd_section): Make it static.

16 years ago2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 22 Aug 2007 13:44:37 +0000 (13:44 +0000)]
2007-08-22  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c: Remove trailing whitespace.
* elfxx-ia64.c: Likewise.

16 years agoAdd support for -E/--export-dynamic. Also clean up --help output a bit.
Ian Lance Taylor [Wed, 22 Aug 2007 05:06:38 +0000 (05:06 +0000)]
Add support for -E/--export-dynamic.  Also clean up --help output a bit.

16 years agodaily update
Alan Modra [Wed, 22 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoImplement --whole-archive.
Ian Lance Taylor [Tue, 21 Aug 2007 23:37:56 +0000 (23:37 +0000)]
Implement --whole-archive.

16 years agoMake relative references in linker scripts absolute and update a
chatham [Tue, 21 Aug 2007 21:29:12 +0000 (21:29 +0000)]
Make relative references in linker scripts absolute and update a
comment about relocate() being called.

16 years agoForce PT_LOAD segments to be aligned to the page size.
Ian Lance Taylor [Tue, 21 Aug 2007 21:03:50 +0000 (21:03 +0000)]
Force PT_LOAD segments to be aligned to the page size.

16 years agoAdd support for -rpath.
Ian Lance Taylor [Tue, 21 Aug 2007 20:37:32 +0000 (20:37 +0000)]
Add support for -rpath.

16 years ago2007-08-21 Andreas Krebbel <krebbel1@de.ibm.com>
Andreas Krebbel [Tue, 21 Aug 2007 15:54:30 +0000 (15:54 +0000)]
2007-08-21  Andreas Krebbel  <krebbel1@de.ibm.com>

* s390-mkopc.c (struct s390_cond_ext_format): New global struct.
(s390_cond_ext_format): New global variable.
(expandConditionalJump): New function.
(main): Invoke expandConditionalJump for mnemonics containing '*'.
* s390-opc.txt: Replace mnemonics with conditional
mask extensions with instructions using the newly introduced '*' tag.

16 years ago2007-08-21 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 21 Aug 2007 13:52:54 +0000 (13:52 +0000)]
2007-08-21  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Accept a pointer
to ELF hash entry instead of an integer for local test.
(elf_i386_check_relocs): Updated.
(elf_i386_gc_sweep_hook): Likewise.
(elf_i386_relocate_section): Likewise.

* elf64-x86-64.c  (elf64_x86_64_tls_transition): Accept a
pointer to ELF hash entry instead of an integer for local
test.
(elf64_x86_64_check_relocs): Updated.
(elf64_x86_64_gc_sweep_hook): Likewise.
(elf64_x86_64_relocate_section): Likewise.

16 years agoBring over from the GCC tree:
Ben Elliston [Tue, 21 Aug 2007 04:15:07 +0000 (04:15 +0000)]
Bring over from the GCC tree:

2007-08-21  Richard Guenther  <rguenther@suse.de>

  * configure.ac: Add types checking to stage1 checking flags.
* configure: Regenerate.

16 years agodaily update
Alan Modra [Tue, 21 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-20 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 20 Aug 2007 19:13:04 +0000 (19:13 +0000)]
2007-08-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_tls_transition): Break long line.
* elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.

16 years agoRevision of previous delta using bfd_vma cast instead of 1L.
Nick Clifton [Mon, 20 Aug 2007 13:23:41 +0000 (13:23 +0000)]
Revision of previous delta using bfd_vma cast instead of 1L.

16 years ago2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
Jan Kratochvil [Mon, 20 Aug 2007 13:05:26 +0000 (13:05 +0000)]
2007-08-20  Jan Kratochvil  <jan.kratochvil@redhat.com>

* elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
(ELF_MINPAGESIZE): Fixed its size guess.  Sanity checked its size.
(ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.

16 years ago* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
Nick Clifton [Mon, 20 Aug 2007 08:26:35 +0000 (08:26 +0000)]
* elflink.c (elf_fixup_link_order): Rewrite conversion of s->alignment_power
  into an offset mask in order to avoid a gcc error message.

16 years agodaily update
Alan Modra [Mon, 20 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agodaily update
Alan Modra [Sun, 19 Aug 2007 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers [Sat, 18 Aug 2007 15:19:10 +0000 (15:19 +0000)]
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

16 years ago * ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
Alan Modra [Sat, 18 Aug 2007 01:36:57 +0000 (01:36 +0000)]
* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.

16 years agodaily update
Alan Modra [Sat, 18 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Jakub Jelinek [Fri, 17 Aug 2007 22:00:11 +0000 (22:00 +0000)]
* config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
Change sparc64-*-linux-* to sparc64*-*-linux-*.

* configure.host: Handle sparcv*-*-linux-* the same as
sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.

* ld-sparc/tlssunnopic32.dd: Fix up #target.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic32.sd: Likewise.
* ld-sparc/tlssunnopic64.dd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunnopic64.sd: Likewise.

16 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2007 19:31:01 +0000 (19:31 +0000)]
merge from gcc

16 years ago PR gas/4079
Alan Modra [Fri, 17 Aug 2007 14:12:43 +0000 (14:12 +0000)]
PR gas/4079
* config/tc-i386.c (x86_cons): Complain about invalid @got etc.
expressions.
(i386_immediate): Detect and complain about more cases of
invalid immediate expressions.  Return failure rather than
converting them to zero.
(i386_displacement): Likewise.

16 years ago * emultempl/alphaelf.em: Format option help.
Alan Modra [Fri, 17 Aug 2007 13:50:48 +0000 (13:50 +0000)]
* emultempl/alphaelf.em: Format option help.
* emultempl/armcoff.em: Likewise.
* emultempl/armelf.em: Likewise.
* emultempl/avrelf.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/hppaelf.em: Likewise.
* emultempl/ia64elf.em: Likewise.
* emultempl/m68hc1xelf.em: Likewise.
* emultempl/ppc32elf.em: Likewise.
* emultempl/ppc64elf.em: Likewise.
* emultempl/scoreelf.em: Likewise.
* emultempl/spuelf.em: Likewise.
* emultempl/ticoff.em: Likewise.
* emultempl/vxworks.em: Likewise.
* emultempl/xtensaelf.em: Likewise.

16 years ago * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
Alan Modra [Fri, 17 Aug 2007 13:23:08 +0000 (13:23 +0000)]
* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
* lexsup.c (ld_options): Don't use tabs in help text.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.

16 years agold/testsuite/
Richard Sandiford [Fri, 17 Aug 2007 13:22:44 +0000 (13:22 +0000)]
ld/testsuite/
* lib/ld-lib.exp (run_dump_test): Allow [big_or_little_endian]
to appear in assembler and linker options.
* ld-mips-elf/vxworks1-static.d (ld): Add [big_or_little_endian].

16 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
Richard Sandiford [Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

16 years ago * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
Alan Modra [Fri, 17 Aug 2007 01:04:52 +0000 (01:04 +0000)]
* po/Make-in: Add --msgid-bugs-address to xgettext invocation.

16 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Alexandre Oliva [Fri, 17 Aug 2007 00:03:44 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

16 years agodaily update
Alan Modra [Fri, 17 Aug 2007 00:00:06 +0000 (00:00 +0000)]
daily update