]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/log
fpga/lx-cpu1/binutils-tumbl.git
11 years agobfd/
Richard Sandiford [Mon, 11 Feb 2013 17:23:02 +0000 (17:23 +0000)]
bfd/
* elfxx-mips.c (mips_elf_recreate_got): Remove free.
(mips_elf_resolve_final_got_entries): Remove bogus comment.

11 years agodaily update
Alan Modra [Sun, 10 Feb 2013 23:00:08 +0000 (23:00 +0000)]
daily update

11 years ago PR ld/15113
Alan Modra [Sun, 10 Feb 2013 02:30:20 +0000 (02:30 +0000)]
PR ld/15113
* elf32-sh.c (sh_elf_link_hash_table_create): Use bfd_zmalloc.

11 years agodaily update
Alan Modra [Sat, 9 Feb 2013 23:00:13 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 8 Feb 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years ago PR binutils/15106
Alan Modra [Fri, 8 Feb 2013 07:05:10 +0000 (07:05 +0000)]
PR binutils/15106
* elf-bfd.h (struct elf_obj_tdata): Add elf_find_function_cache.
* elf.c (elf_find_function): Revert last change.  Use new
tdata field rather than static vars for cache.

11 years agodaily update
Alan Modra [Thu, 7 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years ago PR binutils/15106
Alan Modra [Thu, 7 Feb 2013 04:21:35 +0000 (04:21 +0000)]
PR binutils/15106
* elf.c (elf_find_function): Don't cache if symbols change.

11 years ago PR binutils/14873
Alan Modra [Thu, 7 Feb 2013 03:44:41 +0000 (03:44 +0000)]
PR binutils/14873
* elf-attrs.c (_bfd_elf_copy_obj_attributes): Don't attempt to
copy attributes from or to non-ELF.

11 years agodaily update
Alan Modra [Wed, 6 Feb 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 5 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 4 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 3 Feb 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 2 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 1 Feb 2013 23:00:14 +0000 (23:00 +0000)]
daily update

11 years ago * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
Alan Modra [Fri, 1 Feb 2013 11:48:07 +0000 (11:48 +0000)]
* elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbol
clears def_regular.

11 years agodaily update
Alan Modra [Thu, 31 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years ago PR ld/15056
Alan Modra [Thu, 31 Jan 2013 07:35:26 +0000 (07:35 +0000)]
PR ld/15056
* elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit
references to __tls_get_addr.
* elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise.  Correct
vtinherit and vtentry reloc handling too.
* elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.

11 years ago * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
Alan Modra [Thu, 31 Jan 2013 07:29:27 +0000 (07:29 +0000)]
* elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.

2013-01-28  Alan Modra  <amodra@gmail.com>
* elf64-ppc.c: Use %T to print symbols names and remove redundant
"relocation" in error messages throughout file.
(ppc64_elf_relocate_section): Remove sibling call error message,
replace with "call lacks nop".  Specially report errors for
branches to function entry points via OPD lookup and branches
to stubs.  Remove NULL symbol handling now done by %T.

11 years agodaily update
Alan Modra [Wed, 30 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 29 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agogas/
Roland McGrath [Tue, 29 Jan 2013 17:36:07 +0000 (17:36 +0000)]
gas/
* config/tc-arm.c (md_apply_fix): Use as_bad_where for "bad
immediate value for 8-bit offset" error so it shows line info.

11 years agodaily update
Alan Modra [Mon, 28 Jan 2013 23:00:13 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 27 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 26 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 25 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Thu, 24 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Wed, 23 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 22 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 21 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years ago PR 12549
Alan Modra [Mon, 21 Jan 2013 13:48:31 +0000 (13:48 +0000)]
PR 12549
PR 14493
PR 14567
PR 14662
PR 14758
PR 14813
PR 14904
PR 14915
PR 14926
PR 14950
PR 14962
Apply mainline patches

11 years agodaily update
Alan Modra [Sun, 20 Jan 2013 23:00:13 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 19 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 18 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Thu, 17 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Wed, 16 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 15 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 14 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 13 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 12 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 11 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Thu, 10 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agogas/
Roland McGrath [Thu, 10 Jan 2013 17:13:05 +0000 (17:13 +0000)]
gas/
* hash.c (hash_new_sized): Make it global.
* hash.h: Declare it.
* macro.c (define_macro): Use hash_new_sized instead of hash_new,
pass a small size.

11 years agodaily update
Alan Modra [Wed, 9 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 8 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 7 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update

11 years agobinutils/
Roland McGrath [Mon, 7 Jan 2013 17:42:43 +0000 (17:42 +0000)]
binutils/
* objcopy.c (deterministic): Make int rather than bfd_boolean,
initialize to -1.
(strip_options, copy_options): Add -U/--disable-deterministic-archives.
(default_deterministic): New function.
(strip_main, copy_main): Handle -U.  Call default_deterministic.
(copy_usage, strip_usage): Describe -U.  Cite whether -D or -U is
the default based on DEFAULT_AR_DETERMINISTIC.
* doc/binutils.texi (objcopy, strip): Describe -U and effect of
configure options on -D.

* ar.c (default_deterministic): Comment fix.

11 years agodaily update
Alan Modra [Sun, 6 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 5 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 4 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Thu, 3 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Wed, 2 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 1 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 31 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 30 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 29 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 28 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Thu, 27 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Wed, 26 Dec 2012 23:00:13 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 25 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 24 Dec 2012 23:00:16 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 23 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 22 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agoCheck R_X86_64_standard for unrecognized relocation
H.J. Lu [Sat, 22 Dec 2012 18:25:07 +0000 (18:25 +0000)]
Check R_X86_64_standard for unrecognized relocation

* elf64-x86-64.c (elf_x86_64_relocate_section): Check
R_X86_64_standard instead of R_X86_64_max for unrecognized
relocation.

11 years agodaily update
Alan Modra [Fri, 21 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agoProperly adjust h->plt.refcount
H.J. Lu [Fri, 21 Dec 2012 18:21:05 +0000 (18:21 +0000)]
Properly adjust h->plt.refcount

bfd/

PR ld/14980
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Properly
adjust h->plt.refcount.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.

ld/testsuite/

PR ld/14980
* ld-ifunc/ifunc-14c.s: New file.
* ld-ifunc/ifunc-14e-i386.d: Likewise.
* ld-ifunc/ifunc-14e-x86-64.d: Likewise.
* ld-ifunc/ifunc-14f-i386.d: Likewise.
* ld-ifunc/ifunc-14f-x86-64.d: Likewise.

11 years agodaily update
Alan Modra [Thu, 20 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agoAlso check local IFUNC references
H.J. Lu [Thu, 20 Dec 2012 18:52:19 +0000 (18:52 +0000)]
Also check local IFUNC references

bfd/

PR ld/14968
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check
local IFUNC references.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.

ld/testsuite/

PR ld/14968
* ld-ifunc/ifunc-18a-i386.d: New file.
* ld-ifunc/ifunc-18a-x86-64.d: Likewise.
* ld-ifunc/ifunc-18a.s: Likewise.
* ld-ifunc/ifunc-18b-i386.d: Likewise.
* ld-ifunc/ifunc-18b-x86-64.d: Likewise.
* ld-ifunc/ifunc-18b.s: Likewise.
* ld-ifunc/ifunc-19a-i386.d: Likewise.
* ld-ifunc/ifunc-19a-x86-64.d: Likewise.
* ld-ifunc/ifunc-19a.s: Likewise.
* ld-ifunc/ifunc-19b-i386.d: Likewise.
* ld-ifunc/ifunc-19b-x86-64.d: Likewise.
* ld-ifunc/ifunc-19b.s: Likewise.

11 years agoCheck local IFUNC calls
H.J. Lu [Thu, 20 Dec 2012 18:51:05 +0000 (18:51 +0000)]
Check local IFUNC calls

bfd/

PR ld/14956
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local
IFUNC calls.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.

ld/testsuite/

PR ld/14956
* ld-ifunc/ifunc-14-i386.d: Renamed to ...
* ld-ifunc/ifunc-14a-i386.d: This.

* ld-ifunc/ifunc-14-x86-64.d: Renamed to ...
* ld-ifunc/ifunc-14a-x86-64.d: This.

* ld-ifunc/ifunc-14b-i386.d: New file.
* ld-ifunc/ifunc-14b-x86-64.d: Likewise.
* ld-ifunc/ifunc-14c-i386.d: Likewise.
* ld-ifunc/ifunc-14c-x86-64.d: Likewise.
* ld-ifunc/ifunc-14d-i386.d: Likewise.
* ld-ifunc/ifunc-14d-x86-64.d: Likewise.

11 years ago2012-12-20 Greta Yorsh <Greta.Yorsh@arm.com>
Richard Earnshaw [Thu, 20 Dec 2012 16:30:17 +0000 (16:30 +0000)]
2012-12-20  Greta Yorsh  <Greta.Yorsh@arm.com>

* config/tc-arm.c (rfefa,rfeea,rfeed): Fix encoding.
(rfe,srs,srsea,srsfa,srsed,srsfd): Add missing mnemonics.

* gas/arm/srs-t2.s: Add tests for missing srs modes.
* gas/arm/srs-t2.l: Update expected output.
* gas/arm/srs-arm.s: Add tests for missing srs modes.
* gas/arm/srs-arm.l: Update expected output.
* gas/arm/archv6.s: Add tests for missing rfe modes.
* gas/arm/archv6.d: Update expected output.

11 years agodaily update
Alan Modra [Wed, 19 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 18 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agold/
Roland McGrath [Tue, 18 Dec 2012 20:43:44 +0000 (20:43 +0000)]
ld/
* ld.texinfo (Options): Describe -Trodata-segment.
* ldlex.h (enum option_values): Add OPTION_TRODATA_SEGMENT.
* lexsup.c (ld_options, parse_args): Handle -Trodata-segment.
* scripttempl/elf.sc (RODATA_ADDR, SHLIB_RODATA_ADDR): Wrap
SEGMENT_START("rodata-segment", ...) + SIZEOF_HEADERS around the value.

11 years agodaily update
Alan Modra [Mon, 17 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update

11 years agobfd/
Roland McGrath [Mon, 17 Dec 2012 19:14:10 +0000 (19:14 +0000)]
bfd/
* elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are
not ARM ELF.

11 years agodaily update
Alan Modra [Sun, 16 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 15 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 14 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 14 Dec 2012 00:36:52 +0000 (00:36 +0000)]
daily update

11 years agodaily update
Alan Modra [Wed, 12 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 11 Dec 2012 23:00:13 +0000 (23:00 +0000)]
daily update

11 years agold/
Roland McGrath [Tue, 11 Dec 2012 22:24:03 +0000 (22:24 +0000)]
ld/
* emulparams/elf_nacl.sh (nacl_rodata_addr): New shell function.
(RODATA_ADDR, SHLIB_RODATA_ADDR): Use it to base the calculation
on SEGMENT_START("text-segment", ...) rather than ... alone.
* Makefile.am (earmelf_nacl.c, earmelfb_nacl.c): Add missing
dependency on $(srcdir)/emulparams/elf_nacl.sh.
* Makefile.in: Regenerate.

11 years agodaily update
Alan Modra [Mon, 10 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 9 Dec 2012 23:00:08 +0000 (23:00 +0000)]
daily update

11 years agoProperly check indicies bigger than 4Gb
H.J. Lu [Sun, 9 Dec 2012 18:06:44 +0000 (18:06 +0000)]
Properly check indicies bigger than 4Gb

PR binutils/14933
* archive.c (bsd_write_armap): Properly check indicies bigger than
4Gb.

11 years agodaily update
Alan Modra [Sat, 8 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 7 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agogold/
Roland McGrath [Fri, 7 Dec 2012 21:49:46 +0000 (21:49 +0000)]
gold/
* testsuite/binary_unittest.cc (Sized_binary_test):
Use open_descriptor rather than ::open.

11 years ago * configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.
Ian Lance Taylor [Fri, 7 Dec 2012 21:24:47 +0000 (21:24 +0000)]
* configure.ac (HAVE_ZLIB): Use AM_ZLIB instead of AC_SEARCH_LIBS.
Use $ac_cv_header_zlib_h = yes as the condition in AM_CONDITIONAL.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

11 years agodaily update
Alan Modra [Thu, 6 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agogas/
Yufeng Zhang [Thu, 6 Dec 2012 16:28:14 +0000 (16:28 +0000)]
gas/

2012-12-06  Yufeng Zhang  <yufeng.zhang@arm.com>

* config/tc-aarch64.c (exp_has_bignum_p): Remove.
(my_get_expression): Not get rid of bignums.
(s_ltorg): Increase the range of 'align'.
(programmer_friendly_fixup): Allow bignum expression.

gas/testsuite/

2012-12-06  Yufeng Zhang  <yufeng.zhang@arm.com>

* gas/aarch64/programmer-friendly.s: Add tests for LDR literal with
the auto-generation of literal in pool.
* gas/aarch64/programmer-friendly.d: Update.

11 years agodaily update
Alan Modra [Wed, 5 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Tue, 4 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Mon, 3 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 2 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 1 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Fri, 30 Nov 2012 23:00:08 +0000 (23:00 +0000)]
daily update

11 years agold/testsuite/
Roland McGrath [Fri, 30 Nov 2012 21:14:53 +0000 (21:14 +0000)]
ld/testsuite/
* ld-elf/ehdr_start.s: Put reference in .rodata section, not .data.

11 years agobinutils/testsuite/
Roland McGrath [Thu, 29 Nov 2012 23:29:13 +0000 (23:29 +0000)]
binutils/testsuite/
* lib/binutils-common.exp (is_zlib_supported): New function.
* lib/utils-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.
* binutils-all/compress.exp: Bail out if zlib is not available.
* binutils-all/objdump.exp (objdump compressed debug):
Mark unsupported if zlib is not available.
* binutils-all/readelf.exp (readelf_compressed_wa_test): Likewise.

gas/testsuite/
* lib/gas-defs.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.

ld/testsuite/
* ld-elf/compress.exp: Bail out if zlib is not supported.
* lib/ld-lib.exp (run_dump_test): If as options include
--compress-debug-sections and zlib is not available, report
the test as unsupported.

11 years agodaily update
Alan Modra [Thu, 29 Nov 2012 23:00:09 +0000 (23:00 +0000)]
daily update