]>
rtime.felk.cvut.cz Git - fpga/lx-cpu1/binutils-tumbl.git/log
Alan Modra [Fri, 15 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Yufeng Zhang [Fri, 15 Feb 2013 18:40:38 +0000 (18:40 +0000)]
opcodes/
* aarch64-opc.c (aarch64_prfops): Change unnamed operation 'name'
fields to NULL.
(aarch64_print_operand): Adjust the printing for AARCH64_OPND_PRFOP.
gas/
* config/tc-aarch64.c (md_begin): Change to check if 'name' is
NULL.
gas/testsuite/
* gas/aarch64/system.s: Add tests.
* gas/aarch64/system.d: Update.
Alan Modra [Thu, 14 Feb 2013 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 13 Feb 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 12 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Yufeng Zhang [Tue, 12 Feb 2013 15:31:34 +0000 (15:31 +0000)]
include/opcode/
2013-02-12 Yufeng Zhang <yufeng.zhang@arm.com>
* aarch64.h (aarch64_op): Add OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2.
opcodes/
2013-02-12 Yufeng Zhang <yufeng.zhang@arm.com>
* aarch64-tbl.h (aarch64_opcode_table): Flag sshll, sshll2, ushll and
ushll2 with F_HAS_ALIAS. Add entries for sxtl, sxtl2, uxtl and uxtl2.
* aarch64-asm.c (convert_xtl_to_shll): New function.
(convert_to_real): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by
calling convert_xtl_to_shll.
* aarch64-dis.c (convert_shll_to_xtl): New function.
(convert_to_alias): Handle OP_SXTL, OP_SXTL2, OP_UXTL and OP_UXTL2 by
calling convert_shll_to_xtl.
* aarch64-gen.c: Update copyright year.
* aarch64-asm-2.c: Re-generate.
* aarch64-dis-2.c: Re-generate.
* aarch64-opc-2.c: Re-generate.
gas/testsuite/
2013-02-12 Yufeng Zhang <yufeng.zhang@arm.com>
* gas/aarch64/alias.s: Add new tests.
* gas/aarch64/alias.d: Update.
* gas/aarch64/no-aliases.d: Update.
Yufeng Zhang [Tue, 12 Feb 2013 14:39:54 +0000 (14:39 +0000)]
Fix the incorrect diagnosics on illegal system registers.
gas/
* config/tc-aarch64.c (parse_operands): Change to compare the result
of function call 'parse_sys_reg' with 'PARSE_FAIL' instead of 'FALSE'.
gas/testsuite/
* gas/aarch64/diagnostic.s: Add test.
* gas/aarch64/diagnostic.l: Update.
Yufeng Zhang [Tue, 12 Feb 2013 14:37:22 +0000 (14:37 +0000)]
Fix the disassembler to display MOVZ and MOVN as MOV.
opcodes/
* aarch64-opc.c (aarch64_print_operand): Change to print
AARCH64_OPND_IMM_MOV in hexadecimal in the instruction and in decimal
in comment.
* aarch64-tbl.h (aarch64_opcode_table): Remove the 'F_PSEUDO' flag
from the opcode entries of OP_MOV_IMM_LOG, OP_MOV_IMM_WIDEN and
OP_MOV_IMM_WIDE.
gas/testsuite/
* gas/aarch64/int-insns.d: Update.
* gas/aarch64/mov.d: Update.
* gas/aarch64/reloc-insn.d: Update.
ld/testsuite/
* ld-aarch64/emit-relocs-264.d: Append the '-Mno-aliases' option to
the objdump directive.
* ld-aarch64/emit-relocs-266.d: Ditto.
* ld-aarch64/emit-relocs-268.d: Ditto.
* ld-aarch64/emit-relocs-269.d: Ditto.
* ld-aarch64/emit-relocs-270.d: Ditto.
* ld-aarch64/emit-relocs-271.d: Ditto.
* ld-aarch64/emit-relocs-272.d: Ditto.
Yufeng Zhang [Tue, 12 Feb 2013 14:34:35 +0000 (14:34 +0000)]
Add missing support for a number of preload hints (PRFM <prfop> operand).
opcodes/
* aarch64-opc.c (aarch64_prfops): Update to support PLIL1KEEP,
PLIL1STRM, PLIL2KEEP, PLIL2STRM, PLIL3KEEP and PLIL3STRM.
gas/testsuite/
* gas/aarch64/system.d: Update.
Yufeng Zhang [Tue, 12 Feb 2013 14:31:10 +0000 (14:31 +0000)]
opcodes/
* aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and
rmr_el3; remove daifset and daifclr.
gas/testsuite/
* gas/aarch64/sysreg-1.s: Add tests of rmr_el1, rmr_el2 and rmr_el3.
* gas/aarch64/sysreg-1.d: Update.
* gas/aarch64/illegal.s: Add tests of daifset and daifclr.
* gas/aarch64/illegal.d: Update.
Yufeng Zhang [Tue, 12 Feb 2013 14:27:37 +0000 (14:27 +0000)]
Add missing alignment check to load/store uimm12 immediate offset.
opcodes/
* aarch64-opc.c (operand_general_constraint_met_p): Change to
check the alignment of addr.offset.imm instead of that of
shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12.
gas/testsuite/
* gas/aarch64/illegal-2.s: Add test case.
* gas/aarch64/illegal-2.l: Likewise.
Alan Modra [Mon, 11 Feb 2013 23:00:10 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sun, 10 Feb 2013 23:00:08 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sat, 9 Feb 2013 23:00:13 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 8 Feb 2013 23:00:12 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Thu, 7 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
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.
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.
Alan Modra [Wed, 6 Feb 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 5 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 4 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 3 Feb 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 2 Feb 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 1 Feb 2013 23:00:14 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Thu, 31 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
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.
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.
Alan Modra [Wed, 30 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 29 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Mon, 28 Jan 2013 23:00:13 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 27 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 26 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 25 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 24 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 23 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 22 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 21 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update
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
Alan Modra [Sun, 20 Jan 2013 23:00:13 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 19 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 18 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 17 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 16 Jan 2013 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 15 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 14 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 13 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 12 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 11 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 10 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Wed, 9 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 8 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 7 Jan 2013 23:00:14 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sun, 6 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 5 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 4 Jan 2013 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 3 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 2 Jan 2013 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 1 Jan 2013 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 31 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 30 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 29 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 28 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 27 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 26 Dec 2012 23:00:13 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 25 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 24 Dec 2012 23:00:16 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 23 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 22 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Fri, 21 Dec 2012 23:00:12 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Thu, 20 Dec 2012 23:00:10 +0000 (23:00 +0000)]
daily update
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.
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.
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.
Alan Modra [Wed, 19 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 18 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Mon, 17 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sun, 16 Dec 2012 23:00:15 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 15 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 14 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 14 Dec 2012 00:36:52 +0000 (00:36 +0000)]
daily update
Alan Modra [Wed, 12 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 11 Dec 2012 23:00:13 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Mon, 10 Dec 2012 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 9 Dec 2012 23:00:08 +0000 (23:00 +0000)]
daily update
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.
Alan Modra [Sat, 8 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 7 Dec 2012 23:00:11 +0000 (23:00 +0000)]
daily update
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.