Yufeng Zhang [Tue, 5 Mar 2013 17:46:20 +0000 (17:46 +0000)]
Add to the AArch64 GAS the missing support for hexadecimal-format
floating-point literal in the FMOV instruction.
gas/
* config/tc-aarch64.c (aarch64_imm_float_p): Rename 'e' to 'pattern';
add comment.
(aarch64_double_precision_fmovable): New function.
(parse_aarch64_imm_float): Add parameter 'dp_p'; call the new
function; handle hexadecimal representation of IEEE754 encoding.
(parse_operands): Update the call to parse_aarch64_imm_float.
Alan Modra [Tue, 5 Mar 2013 03:11:30 +0000 (03:11 +0000)]
PR ld/15222
ld/
* ldlang.c (lang_size_sections_1): When given an lma_region align
LMA as per VMA only if lma_region is the same as region.
ld/testsuite/
* ld-scripts/rgn-at6.s, * ld-scripts/rgn-at6.t, * ld-scripts/rgn-at6.d,
* ld-scripts/rgn-at7.t, * ld-scripts/rgn-at7.d: New tests.
Alan Modra [Mon, 4 Mar 2013 12:12:50 +0000 (12:12 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): Adjust
non-zero addends when relocatable, rather than addends >= 32768.
Always zero "addend" before applying relocation.
xguo [Mon, 25 Feb 2013 11:38:19 +0000 (11:38 +0000)]
Apply mainline patches
2013-02-25 Terry Guo <terry.guo@arm.com>
* config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
* doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to
list of accepted CPUs.
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.
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 [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, 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.
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.
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.