]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
Alan Modra [Fri, 8 Apr 2011 00:00:11 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 7 Apr 2011 00:00:09 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 6 Apr 2011 00:00:10 +0000 (00:00 +0000)]
daily update
Alan Modra [Tue, 5 Apr 2011 00:00:44 +0000 (00:00 +0000)]
daily update
Alan Modra [Mon, 4 Apr 2011 00:00:11 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 3 Apr 2011 00:00:11 +0000 (00:00 +0000)]
daily update
Alan Modra [Fri, 1 Apr 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Tristan Gingold [Fri, 1 Apr 2011 12:50:07 +0000 (12:50 +0000)]
Add missing file in previous commit.
Tristan Gingold [Fri, 1 Apr 2011 12:04:29 +0000 (12:04 +0000)]
Backport.
Modified files:
gas : ChangeLog configure.tgt
gas/config : tc-i386.c
bfd : ChangeLog config.bfd configure configure.in
libbfd.h
ld : ChangeLog configure.host configure.tgt ldlex.l
Added files:
gas/config : te-dragonfly.h
Log message:
Add support for DragonFlyBSD target.
Alan Modra [Thu, 31 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 30 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 29 Mar 2011 23:00:25 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 28 Mar 2011 23:00:12 +0000 (23:00 +0000)]
daily update
nobody [Mon, 28 Mar 2011 11:18:28 +0000 (11:18 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_21-branch'.
Cherrypick from master 2011-03-28 11:18:27 UTC Nick Clifton <nickc@redhat.com> 'Add support for DragonFlyBSD target.':
gas/config/te-dragonfly.h
Alan Modra [Sun, 27 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 26 Mar 2011 23:00:14 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 25 Mar 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 24 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 23 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Tristan Gingold [Wed, 23 Mar 2011 16:01:57 +0000 (16:01 +0000)]
Backport of:
Changes by: krebbel@sourceware.org 2010-11-25 09:33:54
Modified files:
include : ChangeLog
gas : ChangeLog
gas/config : tc-s390.c
include/opcode : s390.h
Log message:
2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.c (current_cpu): Initialize with latest CPU.
(init_default_arch): Default to z/Architecture mode if CPU provides it.
Remove the check setting the CPU default.
2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.
Tristan Gingold [Wed, 23 Mar 2011 16:00:20 +0000 (16:00 +0000)]
Backport of:
Changes by: hjl@sourceware.org 2011-02-08 20:21:26
Modified files:
gas : ChangeLog
gas/config : tc-i386.c
gas/testsuite : ChangeLog
gas/testsuite/gas/i386: nops-1-i686.d nops-3-i686.d
nops-4-i686.d
Log message:
Use f32_patt in i386_align_code when tuning for i686.
gas/
2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
PR gas/6957
* config/tc-i386.c (i386_align_code): Use f32_patt when tuning
for i686.
gas/testsuite/
2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
PR gas/6957
* gas/i386/nops-1-i686.d: Updated.
* gas/i386/nops-3-i686.d: Likewise.
* gas/i386/nops-4-i686.d: Likewise.
Alan Modra [Wed, 23 Mar 2011 15:26:20 +0000 (15:26 +0000)]
bfd/
* elf32-ppc.c (ppc_elf_tls_optimize): Catch more cases where
old-style __tls_get_addr calls without marker relocs don't match
their arg setup insn one for one. If such mismatches are found
report the reloc and don't do any tls optimization.
* elf64-ppc.c (ppc64_elf_tls_optimize): Likewise.
ld/testsuite/
* ld-powerpc/tlsmark.s: Delete non-optimizable section.
* ld-powerpc/tlsmark32.s: Likewise.
* ld-powerpc/tlsmark.d: Adjust to suit.
* ld-powerpc/tlsmark32.d: Likewise.
* ld-powerpc/tlsopt1.d, * ld-powerpc/tlsopt1.s: New.
* ld-powerpc/tlsopt2.d, * ld-powerpc/tlsopt2.s: New.
* ld-powerpc/tlsopt3.d, * ld-powerpc/tlsopt3.s: New.
* ld-powerpc/tlsopt4.d, * ld-powerpc/tlsopt4.s: New.
* ld-powerpc/tlsopt1_32.d, * ld-powerpc/tlsopt1_32.s: New.
* ld-powerpc/tlsopt2_32.d, * ld-powerpc/tlsopt2_32.s: New.
* ld-powerpc/tlsopt3_32.d, * ld-powerpc/tlsopt3_32.s: New.
* ld-powerpc/tlsopt4_32.d, * ld-powerpc/tlsopt4_32.s: New.
* ld-powerpc/powerpc.exp: Run new tests.
nobody [Wed, 23 Mar 2011 15:25:07 +0000 (15:25 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_21-branch'.
Cherrypick from master 2011-03-23 15:25:06 UTC Alan Modra <amodra@gmail.com> 'bfd/':
ld/testsuite/ld-powerpc/tlsopt1.d
ld/testsuite/ld-powerpc/tlsopt1.s
ld/testsuite/ld-powerpc/tlsopt1_32.d
ld/testsuite/ld-powerpc/tlsopt1_32.s
ld/testsuite/ld-powerpc/tlsopt2.d
ld/testsuite/ld-powerpc/tlsopt2.s
ld/testsuite/ld-powerpc/tlsopt2_32.d
ld/testsuite/ld-powerpc/tlsopt2_32.s
ld/testsuite/ld-powerpc/tlsopt3.d
ld/testsuite/ld-powerpc/tlsopt3.s
ld/testsuite/ld-powerpc/tlsopt3_32.d
ld/testsuite/ld-powerpc/tlsopt3_32.s
ld/testsuite/ld-powerpc/tlsopt4.d
ld/testsuite/ld-powerpc/tlsopt4.s
ld/testsuite/ld-powerpc/tlsopt4_32.d
ld/testsuite/ld-powerpc/tlsopt4_32.s
Alan Modra [Tue, 22 Mar 2011 23:00:14 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 21 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 20 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 19 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 19 Mar 2011 00:27:26 +0000 (00:27 +0000)]
* config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
* doc/as.texinfo (Overview <Target PowerPC options>): Add a number
of missing options.
* doc/c-ppc.texi: Likewise.
Alan Modra [Fri, 18 Mar 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 18 Mar 2011 12:01:50 +0000 (12:01 +0000)]
* config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
on .size expression errors rather than symbols in the size expression.
Backport 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
* as.c (show_usage): Add --size-check=.
(parse_args): Add and handle OPTION_SIZE_CHECK.
* as.h (flag_size_check): New.
* config/obj-elf.c (elf_frob_symbol): Use as_bad to report
bad .size directive only for --size-check=error.
* doc/as.texinfo: Document --size-check=.
Alan Modra [Thu, 17 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 17 Mar 2011 11:00:47 +0000 (11:00 +0000)]
PR 12569
* expr.c (operand): Correct passing of "mode" to expr.
* read.c (do_org): Allow expr_section.
(get_known_segmented_expression): Don't assert anything about the
segment.
Alan Modra [Wed, 16 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 15 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 14 Mar 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Dave Anglin [Mon, 14 Mar 2011 16:31:56 +0000 (16:31 +0000)]
Backport from mainline:
2010-12-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR gas/11395
* hppa.h (pa_opcodes): Exchange 32 and 64-bit "bb" entries.
Dave Anglin [Mon, 14 Mar 2011 16:28:08 +0000 (16:28 +0000)]
Backport from mainline:
2010-12-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR gas/11395
* config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
doubleword completer or doubleword condition is found in an add/sub
instruction. Reject match for 'A'/'S' only if there is no condition
and d bit is not set.
Ian Lance Taylor [Mon, 14 Mar 2011 15:24:08 +0000 (15:24 +0000)]
* script-sections.cc (Sort_output_sections::script_compare):
Rename from is_before, change return type.
(Sort_output_sections::operator()): Adjust accordingly.
Dave Anglin [Mon, 14 Mar 2011 02:35:08 +0000 (02:35 +0000)]
Backport from mainline:
2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
PR ld/12376
emulparams/hppalinux.sh (DATA_ADDR): Define.
(SHLIB_DATA_ADDR): Likewise.
Alan Modra [Sun, 13 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 12 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 11 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 10 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 10 Mar 2011 09:27:57 +0000 (09:27 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Provide section/offset
for LO_DS error message and correct multiple.
Alan Modra [Thu, 10 Mar 2011 09:11:31 +0000 (09:11 +0000)]
* elf64-ppc.c (bfd_elf64_bfd_link_just_syms): Define.
(ppc64_elf_link_just_syms): New function.
(opd_entry_value): Don't assume big-endian host.
(get_r2off): New function.
(ppc_build_one_stub, ppc_size_one_stub): Use it here.
Alan Modra [Wed, 9 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 9 Mar 2011 01:54:55 +0000 (01:54 +0000)]
PR gold/12525
* fileread.cc: #include <climits>.
(GOLD_IOV_MAX): Define.
(File_read::read_multiple): Limit number of entries by iov_max.
* fileread.h (class File_read): Always set max_readv_entries to
128.
Alan Modra [Tue, 8 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 7 Mar 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Mon, 7 Mar 2011 22:51:50 +0000 (22:51 +0000)]
PR gold/12525
* options.h (class General_options): Add -dy and -dn.
Alan Modra [Sun, 6 Mar 2011 23:00:13 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 5 Mar 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 4 Mar 2011 23:00:35 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 4 Mar 2011 01:44:21 +0000 (01:44 +0000)]
* archive.c (bsd_write_armap): Don't call stat in deterministic
mode, and don't use st_mtime if stat returns error.
Alan Modra [Thu, 3 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 2 Mar 2011 23:00:13 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 2 Mar 2011 14:50:43 +0000 (14:50 +0000)]
* configure.ac: Add check for gnu_indirect_function support in
the toolchain building binutils.
* configure: Rebuild.
Alan Modra [Tue, 1 Mar 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Tue, 1 Mar 2011 21:50:06 +0000 (21:50 +0000)]
Backport from mainline:
2011-01-04 Cary Coutant <ccoutant@google.com>
* script-sections.cc (Sort_output_sections::operator()): Sort TLS
sections before NOBITS sections.
Alan Modra [Tue, 1 Mar 2011 00:02:38 +0000 (00:02 +0000)]
PR binutils/12523
* readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
Alan Modra [Mon, 28 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 28 Feb 2011 07:47:04 +0000 (07:47 +0000)]
PR 12513
* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
stringsize. Properly sanity check symdef_count. Remove redundant
bfd_release.
Alan Modra [Mon, 28 Feb 2011 04:46:33 +0000 (04:46 +0000)]
* symbols.c (report_op_error): Remove unnecessary forward declaration.
Add "op" parameter. Report operator and operand segments in error
message, not operand symbols.
(resolve_symbol_value): Always set segment for equated symbols, not
just when finalizing. Adjust report_op_error calls.
Alan Modra [Sun, 27 Feb 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Sun, 27 Feb 2011 15:17:29 +0000 (15:17 +0000)]
Backport from mainline:
2010-11-05 Cary Coutant <ccoutant@google.com>
PR gold/10708
* copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the
object when reading from the file.
* gold.cc (queue_middle_tasks): Hold a lock on the object when doing
second layout pass.
* icf.cc (preprocess_for_unique_sections): Hold a lock on the object
when reading section contents.
(get_section_contents): Likewise.
(icf::find_identical_sections): Likewise.
* mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the
object when reading from the file.
* plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on
the object when doing deferred section layout.
Alan Modra [Sat, 26 Feb 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 25 Feb 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 25 Feb 2011 13:46:37 +0000 (13:46 +0000)]
PR gas/12519
* config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
* ld-mn10300/i135409-3.s: Correct .size label reference.
* ld-sh/sh64/stolib.s: Likewise.
Alan Modra [Fri, 25 Feb 2011 12:33:34 +0000 (12:33 +0000)]
fix pr number
Alan Modra [Fri, 25 Feb 2011 07:50:37 +0000 (07:50 +0000)]
PR 12519
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
sections at start or end of PT_DYNAMIC.
Alan Modra [Thu, 24 Feb 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 23 Feb 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 22 Feb 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 21 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 20 Feb 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 19 Feb 2011 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 18 Feb 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 17 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 16 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 15 Feb 2011 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 15 Feb 2011 04:08:10 +0000 (04:08 +0000)]
* elf64-ppc.c (ppc64_elf_edit_toc): Reinstate second read of
toc relocs. Fuss over free(NULL).
Alan Modra [Mon, 14 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 14 Feb 2011 10:03:37 +0000 (10:03 +0000)]
* ldmain.c (remove_output): Rename to..
(ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
(main): Adjust.
* plugin.c (plugin_call_cleanup): Make global.
(plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
* plugin.h (plugin_call_cleanup): Declare.
Alan Modra [Sun, 13 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 12 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 11 Feb 2011 23:00:19 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 10 Feb 2011 23:44:13 +0000 (23:44 +0000)]
* scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32cr16.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/ip2k.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/mmo.sc: Likewise.
* scripttempl/v850.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
* scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
Alan Modra [Thu, 10 Feb 2011 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 10 Feb 2011 08:44:56 +0000 (08:44 +0000)]
* gas/m68k/cpu32.d: Set explicit architecture for objdump.
* gas/m68k/mcf-coproc.d: Likewise.
* gas/m68k/mcf-wdebug.d: Likewise.
Alan Modra [Thu, 10 Feb 2011 07:25:35 +0000 (07:25 +0000)]
* ld-gc/start.d: Exclude frv-*-linux*.
Alan Modra [Thu, 10 Feb 2011 03:41:11 +0000 (03:41 +0000)]
apply mainline testsuite fixes and tweaks
Ian Lance Taylor [Thu, 10 Feb 2011 01:15:28 +0000 (01:15 +0000)]
PR gold/12316
* object.h (class Sized_relobj): Remove clear_local_symbols.
* reloc.cc (Sized_relobj::do_relocate): Don't call
clear_local_symbols.
Alan Modra [Wed, 9 Feb 2011 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 9 Feb 2011 08:19:29 +0000 (08:19 +0000)]
* ld-elfvsb/elfvsb.exp: Don't run any non-PIC tests on powerpc*-linux.
* ld-gc/gc.exp: Ensure powerpc64 test continues to fail.
* ld-srec/srec.exp: Don't edit toc on powerpc64.
Alan Modra [Wed, 9 Feb 2011 08:16:34 +0000 (08:16 +0000)]
* elf64-ppc.c (ppc64_elf_edit_toc): Don't free toc relocs until
we are done. When optimising large toc, check that a global
symbol on a toc reloc is defined in a kept section.
Alan Modra [Tue, 8 Feb 2011 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 8 Feb 2011 03:00:28 +0000 (03:00 +0000)]
* elf64-ppc.c (ppc64_elf_edit_toc): Don't segfault on NULL
local_syms when looking for local symbols in .toc.
Alan Modra [Mon, 7 Feb 2011 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 7 Feb 2011 00:04:44 +0000 (00:04 +0000)]
PR gas/3041
* gas/m68k/p3041pcrel.s, * gas/m68k/p3041pcrel.d: New test.
* gas/m68k/all.exp: Add "p3041pcrel" and enable p3041 tests for
all m68k-aout targets.
nobody [Mon, 7 Feb 2011 00:04:10 +0000 (00:04 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_21-branch'.
Cherrypick from master 2011-02-07 00:04:09 UTC Alan Modra <amodra@gmail.com> ' PR gas/3041':
binutils/testsuite/lib/binutils-common.exp
gas/testsuite/gas/elf/section9.d
gas/testsuite/gas/elf/section9.s
gas/testsuite/gas/m68k/p3041pcrel.d
gas/testsuite/gas/m68k/p3041pcrel.s
ld/testsuite/ld-elfvers/vers.h
ld/testsuite/ld-ifunc/ifunc-12-i386.d
ld/testsuite/ld-ifunc/ifunc-12-i386.s
ld/testsuite/ld-ifunc/ifunc-12-x86-64.d
ld/testsuite/ld-ifunc/ifunc-12-x86-64.s
ld/testsuite/ld-ifunc/ifunc-13-i386.d
ld/testsuite/ld-ifunc/ifunc-13-x86-64.d
ld/testsuite/ld-ifunc/ifunc-13a-i386.s
ld/testsuite/ld-ifunc/ifunc-13a-x86-64.s
ld/testsuite/ld-ifunc/ifunc-13b-i386.s
ld/testsuite/ld-ifunc/ifunc-13b-x86-64.s