]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
11 years agoppc476 icache workaround fix for bctr
Alan Modra [Sat, 5 Apr 2014 07:13:36 +0000 (17:43 +1030)] 
ppc476 icache workaround fix for bctr

I got the ppc476 workaround wrong.  bctr (and bctrl) as the last
instruction in a page can hit the icache bug if the preceding mtctr
insn is close by, and the destination is in the first few instructions
on the next page.  This scenario can occur with code generated by gcc
to implement switch statements, or in code generated to call by
function pointer.

To prevent the bctr problem it is also necessary to remove other
instructions that otherwise would be safe.

bfd/
* elf32-ppc.c (ppc_elf_relocate_section): Remove bctr from list
of safe ppc476 insns at end of page.  Also remove non-branch insns.
Expand comments.
ld/
* emultempl/ppc32elf.em (no_zero_padding, ppc_finish): New functions.
(LDEMUL_FINISH): Define.

11 years agoFix ELF ppc32 targets that don't use ppc32elf.em
Alan Modra [Thu, 27 Feb 2014 13:01:35 +0000 (23:31 +1030)] 
Fix ELF ppc32 targets that don't use ppc32elf.em

5446cbdf82892a800ed7eef563a795e75223ec52 broke powerpc-lynxos,
powerpc-netware, powerpc-windiss and powerpc-vxworks.

bfd/
* elf32-ppc.c (ppc_elf_link_hash_table_create): Provide default
params for targets that don't use ppc32elf.em.
ld/
* emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
use ppc32elf.em.
* emultempl/ppc32elf.em (ppc_after_open): Don't compile for
vxworks.
(LDEMUL_AFTER_OPEN): Don't set for vxworks.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
-secure-plt, -bss-plt and -sdata-got when vxworks.

11 years agoAdd ppc476 workaround bootstrap test
Alan Modra [Thu, 20 Feb 2014 23:48:01 +0000 (10:18 +1030)] 
Add ppc476 workaround bootstrap test

I was running this by hand to test out --ppc476-workaround.  Another
bootstrap test doesn't take all that long, so let's add it to the
testsuite.

* ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
* ld-bootstrap/ppc476.t: New file.

11 years agoppc476 workaround for ld -r fixes
Alan Modra [Mon, 17 Feb 2014 06:21:25 +0000 (16:51 +1030)] 
ppc476 workaround for ld -r fixes

This fixes the glaring error that the ppc476 workaround wasn't
actually enabled for ld -r, and adjusts relocations to match moved
code.

bfd/
* elf32-ppc.c (ppc_elf_relocate_section): Move relocs on insns
patched for ppc476 workaround.  Reapply branch taken/not taken
relocs.
ld/
* emultempl/ppc32elf.em (ppc_after_open_output): Really enable
ppc476 workaround for ld -r.

11 years agoEnable ppc476 workaround for ld -r.
Alan Modra [Wed, 12 Feb 2014 06:14:36 +0000 (16:44 +1030)] 
Enable ppc476 workaround for ld -r.

The Linux kernel builds modules using ld -r.  These might need the
ppc476 workaround, so enable it for ld -r if sections have sufficient
alignment to tell location within a page.

bfd/
* elf32-ppc.c (ppc_elf_relax_section): Enable ppc476 workaround
for ld -r, when code sections are sufficiently aligned.
* elf32-ppc.h (struct ppc_elf_params): Delete pagesize.  Add
pagesize_p2.
ld/
* emultempl/ppc32elf.em (pagesize): New static var.
(ppc_after_open_output): Set params.pagesize_p2 from pagesize.
(PARSE_AND_LIST_ARGS_CASES): Adjust to use pagesize.

11 years agoppc476 icache bug workaround
Alan Modra [Wed, 29 Jan 2014 21:56:02 +0000 (08:26 +1030)] 
ppc476 icache bug workaround

This implements a work-around for an icache bug on 476 that can cause
execution of stale instructions when control falls through from one
page to the next.  The idea is to prevent such fall-through by
replacing the last instruction on a page with a branch to a patch
area containing the instruction, then branch to the next page.

The patch also fixes a number of bugs in the existing support for long
branch trampolines.

bfd/
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add params.
Delete emit_stub_syms, no_tls_get_addr_opt.  Update all uses.
(ppc_elf_link_params): New function.
(ppc_elf_create_glink): Align .glink to 64 bytes for ppc476
workaround.
(ppc_elf_select_plt_layout): Remove plt_style and emit_stub_syms
parameters.  Use htab->params instead.
(ppc_elf_tls_setup): Remove no_tls_get_addr_opt parameter.
(ppc_elf_size_dynamic_sections): Align __glink_PLTresolve to
64 bytes for ppc476 workaround.
(struct ppc_elf_relax_info): New.
(ppc_elf_relax_section): Exclude linker created sections and
those too small to hold one instruction.  Don't add another
branch  around trampolines on later relax passes.  Don't
generate trampolines for undefined symbols when !relocatable,
nor for plugin symbols.  Allocate space for ppc476 workaround
patch area.  Free fixups on error return path.
(ppc_elf_relocate_section): Handle ppc476 workaround patching.
* elf32-ppc.h (struct ppc_elf_params): New.
(ppc_elf_select_plt_layout, ppc_elf_tls_setup): Update prototype.
(ppc_elf_link_params): Declare.
* section.c (SEC_INFO_TYPE_TARGET): Define.
* bfd-in2.h: Regenerate.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt, emit_stub_syms)
plt_style): Delete.  Adjust all refs to instead use..
(params): ..this.  New variable.
(ppc_after_open_output): New function.  Tweak params and pass to
ppc_elf_link_params.
(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
(ppc_before_allocation): Adjust ppc_elf_tls_setup call.  Enable
relaxation for ppc476 workaround.
(PARSE_AND_LIST_*): Add --{no-,}ppc476-workaround support.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define.

11 years agodaily update
Alan Modra [Wed, 16 Apr 2014 00:00:29 +0000 (09:30 +0930)] 
daily update

11 years ago[AArch64] Fix off by one error in instruction relaxation mask.
Marcus Shawcroft [Tue, 15 Apr 2014 16:46:07 +0000 (17:46 +0100)] 
[AArch64] Fix off by one error in instruction relaxation mask.

The AArch64 TLSDESC to IE relaxation code uses a bit mask intended to
ensure that destination register in a relaxed ldr instruction is
always X0.  The mask has an off by one error resulting in the most
significant bit of the destination register being retained in the
relaxed instruction.  The issue generally appears when the compiler
emits TLS accesses code under high register pressure resulting in a
broken code sequence.

11 years agodaily update
Alan Modra [Tue, 15 Apr 2014 00:00:21 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Mon, 14 Apr 2014 00:00:16 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Sun, 13 Apr 2014 00:00:17 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Sat, 12 Apr 2014 00:00:20 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Fri, 11 Apr 2014 00:00:29 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Thu, 10 Apr 2014 00:00:24 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Wed, 9 Apr 2014 00:00:29 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Tue, 8 Apr 2014 00:00:29 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Mon, 7 Apr 2014 00:00:15 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Sun, 6 Apr 2014 00:00:26 +0000 (09:30 +0930)] 
daily update

11 years agodaily update
Alan Modra [Fri, 4 Apr 2014 23:00:30 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 3 Apr 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 2 Apr 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 1 Apr 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 31 Mar 2014 23:00:28 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 30 Mar 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 29 Mar 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 28 Mar 2014 23:00:21 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 27 Mar 2014 23:00:28 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 26 Mar 2014 23:00:23 +0000 (09:30 +1030)] 
daily update

11 years ago[AArch64 disassembler] Add missing checks of undefined encodings on
Yufeng Zhang [Wed, 26 Mar 2014 18:44:27 +0000 (18:44 +0000)] 
[AArch64 disassembler] Add missing checks of undefined encodings on
st1/st2/st3/st4 instructions.

opcodes/

* aarch64-dis.c (aarch64_ext_ldst_elemlist): Check H/S undefined
instructions.

binutils/testsuite/

* binutils-all/aarch64/aarch64.exp: New test driver for AArch64.
* binutils-all/aarch64/unallocated-encoding.s: New testcase.
* binutils-all/aarch64/unallocated-encoding.d: Ditto.

11 years agodaily update
Alan Modra [Tue, 25 Mar 2014 23:00:23 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 24 Mar 2014 23:00:15 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 23 Mar 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 22 Mar 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 21 Mar 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 20 Mar 2014 23:00:22 +0000 (09:30 +1030)] 
daily update

11 years agoFix memory size for gather/scatter instructions
Ilya Tocar [Thu, 20 Mar 2014 09:12:16 +0000 (13:12 +0400)] 
Fix memory size for gather/scatter instructions

For gathers with indices larger than elements (e. g.)

vpgatherqd      ymm6{k1}, ZMMWORD PTR [ebp+zmm7*8-123]

We currently treat memory size as a size of index register, while it is
actually should be size of destination register:

vpgatherqd      ymm6{k1}, YMMWORD PTR [ebp+zmm7*8-123]

This patch fixes it.

opcodes/

        * i386-opc.tbl: Change memory size for vgatherpf0qps, vgatherpf1qps,
        vscatterpf0qps, vscatterpf1qps, vgatherqps, vpgatherqd, vpscatterqd,
        vscatterqps.
        * i386-tbl.h: Regenerate.

gas/testsuite/

        * gas/i386/avx512pf-intel.d: Change memory size for vgatherpf0qps,
        vgatherpf1qps, vscatterpf0qps, vscatterpf1qps.
        * gas/i386/avx512pf.s: Ditto.
        * gas/i386/x86-64-avx512pf-intel.d: Ditto.
        * gas/i386/x86-64-avx512pf.s: Ditto.
        * gas/i386/avx512f-intel.d: Change memory size for vgatherqps,
        vpgatherqd, vpscatterqd, vscatterqps.
        * gas/i386/avx512f.s: Ditto.
        * gas/i386/x86-64-avx512f-intel.d: Ditto.
        * gas/i386/x86-64-avx512f.s: Ditto.

11 years agoRemove bogus vcvtps2ph variant.
Ilya Tocar [Thu, 20 Feb 2014 15:08:13 +0000 (19:08 +0400)] 
Remove bogus vcvtps2ph variant.

We currently support version of vcvtps2ph with sae and only 1 register operand.
This version is encoded as if missing operand was equal to ymm0.
I didn't found any references to this variant in
http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
This patch removes it.

opcodes/

        * i386-opc.tbl: Remove wrong variant of vcvtps2ph
        * i386-tbl.h: Regenerate.

11 years agoAdd support for CPUID PREFETCHWT1
Ilya Tocar [Thu, 20 Feb 2014 14:57:31 +0000 (18:57 +0400)] 
Add support for CPUID PREFETCHWT1

Latest AVX512 spec
http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
Has CPUID PREFETCHWT1 for prefetchwt1 instruction, which we list as AVX512PF.
This patch introduces CPUID PREFETCHWT1.

gas/

        * config/tc-i386.c (cpu_arch): Add .prefetchwt1.
        * doc/c-i386.texi: Document .prefetchwt1/prefetchwt1.

opcodes/

        * i386-gen.c (cpu_flag_init): Add CPU_PREFETCHWT1_FLAGS/
        (cpu_flags): Add CpuPREFETCHWT1.
        * i386-init.h: Regenerate.
        * i386-opc.h (CpuPREFETCHWT1): New.
        (i386_cpu_flags): Add cpuprefetchwt1.
        * i386-opc.tbl: Change CPU of prefetchwt1 from CpuAVX512PF to
CpuPREFETCHWT1.
        * i386-tbl.h: Regenerate.

gas/testsuite

        * gas/i386/avx512pf-intel.d: Remove prefetchwt1.
        * gas/i386/avx512pf.s: Ditto.
        * gas/i386/avx512pf.d: Ditto.
        * gas/i386/x86-64-avx512pf-intel.d: Ditto.
        * gas/i386/x86-64-avx512pf.s: Ditto.
        * gas/i386/x86-64-avx512pf.d: Ditto.
        * gas/i386/prefetchwt1-intel.d: New file.
        * gas/i386/prefetchwt1.s: Ditto.
        * gas/i386/prefetchwt1.d: Ditto.
        * gas/i386/x86-64-prefetchwt1-intel.d: Ditto.
        * gas/i386/x86-64-prefetchwt1.s: Ditto.
        * gas/i386/x86-64-prefetchwt1.d: Ditto.

11 years agoUse Anysize on invlpg/clflush/prefetch*
Jan Beulich [Tue, 8 Oct 2013 15:12:59 +0000 (15:12 +0000)] 
Use Anysize on invlpg/clflush/prefetch*

opcodes/
2013-10-08  Jan Beulich <jbeulich@suse.com>

* i386-opc.tbl (invlpg): Use Anysize instead of Unspecified.
(clflush): Use Anysize instead of Byte|Unspecified.
(prefetch*): Likewise.
* i386-tbl.h: Re-generate.

11 years agoChange cpu for vptestnmd and vptestnmq instructions.
Ilya Tocar [Thu, 20 Feb 2014 14:31:11 +0000 (18:31 +0400)] 
Change cpu for vptestnmd and vptestnmq instructions.

In latest release of AVX512 spec
http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf
Vptestnmq and vptestnmq instructions have CPUID AVX512F, not AVX512CD.
This patch fixes it.

opcodes/

        * i386-opc.tbl: Change CPU of vptestnmq, vptestnmd from CpuAVX512CD,
        to CpuAVX512F.
        * i386-tbl.h: Regenerate.

gas/testsuite/

        * gas/i386/avx512cd-intel.d: Remove vptestnmq, vptestnmd.
        * gas/i386/avx512cd.s: Ditto.
        * gas/i386/avx512cd.d: Ditto.
        * gas/i386/x86-64-avx512cd-intel.d: Ditto.
        * gas/i386/x86-64-avx512cd.s: Ditto.
        * gas/i386/x86-64-avx512cd.d: Ditto.
        * gas/i386/avx512f-intel.d: Add vptestnmq, vptestnmd.
        * gas/i386/avx512f.s: Ditto.
        * gas/i386/avx512f.d: Ditto.
        * gas/i386/x86-64-avx512f-intel.d: Ditto.
        * gas/i386/x86-64-avx512f.s: Ditto.
        * gas/i386/x86-64-avx512f.d: Ditto.

11 years agoAdd clflushopt, xsaves, xsavec, xrstors
Ilya Tocar [Mon, 25 Nov 2013 12:35:42 +0000 (16:35 +0400)] 
Add clflushopt, xsaves, xsavec, xrstors

gas/

2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>

* config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
* doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
clflushopt/.clfushopt.

gas/testsuite/

2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>

* gas/i386/clflushopt-intel.d: New.
* gas/i386/clflushopt.d: Ditto.
* gas/i386/clflushopt.s: Ditto.
* gas/i386/i386.exp: Run new tests.
* gas/i386/x86-64-clflushopt-intel.d: New.
* gas/i386/x86-64-clflushopt.d: Ditto.
* gas/i386/x86-64-clflushopt.s: Ditto.
* gas/i386/x86-64-xsavec-intel.d: Ditto.
* gas/i386/x86-64-xsavec.d: Ditto.
* gas/i386/x86-64-xsavec.s: Ditto.
* gas/i386/x86-64-xsaves-intel.d: Ditto.
* gas/i386/x86-64-xsaves.d: Ditto.
* gas/i386/x86-64-xsaves.s: Ditto.
* gas/i386/xsavec-intel.d: Ditto.
* gas/i386/xsavec.d: Ditto.
* gas/i386/xsavec.s: Ditto.
* gas/i386/xsaves-intel.d: Ditto.
* gas/i386/xsaves.d: Ditto.
* gas/i386/xsaves.s: Ditto.

opcodes/

2014-02-12  Ilya Tocar  <ilya.tocar@intel.com>

* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
MOD_0FC7_REG_5.
(PREFIX enum): Add PREFIX_0FAE_REG_7.
(reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
(prefix_table): Add clflusopt.
(mod_table): Add xrstors, xsavec, xsaves.
* i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
(cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
* i386-init.h: Regenerate.
* i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
xsaves64, xsavec, xsavec64.
* i386-tbl.h: Regenerate.

11 years agoDon't run x86-64-disassem for mingw targets
H.J. Lu [Thu, 19 Dec 2013 19:25:46 +0000 (11:25 -0800)] 
Don't run x86-64-disassem for mingw targets

mingw targets pad text sections which won't work with x86-64-disassem.

* gas/i386/i386.exp: Don't run x86-64-disassem for mingw targets.

11 years agoProperly handle ljmp/lcall with invalid MODRM byte
Michael Zolotukhin [Tue, 17 Dec 2013 17:06:57 +0000 (09:06 -0800)] 
Properly handle ljmp/lcall with invalid MODRM byte

gas/testsuite/

2013-12-17  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

* gas/i386/disassem.s: New.
* gas/i386/disassem.d: Likewise.
* gas/i386/x86-64-disassem.s: Likewise.
* gas/i386/x86-64-disassem.d: Likewise.
* gas/i386/i386.exp: Run disassem and x86-64-disassem.

opcodes/

2013-12-17  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

* i386-dis.c (MOD_FF_REG_3): New.
(MOD_FF_REG_5): Likewise.
(mod_table): Add MOD_FF_REG_3 and MOD_FF_REG_5.
(reg_table): Use MOD_FF_REG_3 and MOD_FF_REG_5.

11 years agodaily update
Alan Modra [Wed, 19 Mar 2014 23:00:20 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 18 Mar 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 17 Mar 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 16 Mar 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 15 Mar 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 14 Mar 2014 23:00:27 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 13 Mar 2014 23:00:47 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 12 Mar 2014 23:00:43 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 11 Mar 2014 23:00:44 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 10 Mar 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 9 Mar 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 8 Mar 2014 23:00:40 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 7 Mar 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years ago2014-03-07 Michael Hudson-Doyle <michael.hudson@linaro.org>
Christophe Lyon [Tue, 14 Jan 2014 14:53:50 +0000 (15:53 +0100)] 
2014-03-07  Michael Hudson-Doyle  <michael.hudson@linaro.org>
    Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>

bfd/
* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use correct
offset while calculating relocation address.
(elfNN_aarch64_create_small_pltn_entry): Likewise.
(elfNN_aarch64_init_small_plt0_entry): Likewise.

 (cherry-pick from commit f44a1f8e513b37bcc52ba9ea0c172c3e94852756)

11 years agodaily update
Alan Modra [Thu, 6 Mar 2014 23:00:22 +0000 (09:30 +1030)] 
daily update

11 years agoApply ld-arm/gc-hidden-1 to all ELF targets, not just *eabi* targets
Roland McGrath [Thu, 6 Mar 2014 17:46:15 +0000 (09:46 -0800)] 
Apply ld-arm/gc-hidden-1 to all ELF targets, not just *eabi* targets

ld/testsuite/
* ld-arm/gc-hidden-1.d: Remove target, add not-target to match
other ELF-only tests in this directory.  Loosen regexps so they
don't care what the exact addresses are.

(cherry picked from commit c125dbfb8c4c6755e188815de1bb65bcb7f1f159)

11 years agoFix check_relocs/gc_sweep_hook mismatch
Alan Modra [Fri, 28 Feb 2014 04:08:27 +0000 (14:38 +1030)] 
Fix check_relocs/gc_sweep_hook mismatch

PR ld/16643
* elflink.c (elf_gc_sweep): Call gc_sweep_hook for exactly
the same conditions we called check_relocs.

(cherry picked from commit 9850436d9e423d66d67d27135896582b2725782e)

11 years agodaily update
Alan Modra [Wed, 5 Mar 2014 23:00:50 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 4 Mar 2014 23:00:38 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 3 Mar 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 2 Mar 2014 23:00:20 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 1 Mar 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 28 Feb 2014 23:00:38 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 27 Feb 2014 23:00:37 +0000 (09:30 +1030)] 
daily update

11 years agoopcodes/
Yufeng Zhang [Thu, 27 Feb 2014 15:06:56 +0000 (15:06 +0000)] 
opcodes/

* aarch64-tbl.h (aarch64_opcode_table): Replace IMM0 with
FPIMM0 for fcmeq, fcmgt, fcmge, fcmlt and fcmle.

gas/testsuite/

* gas/aarch64/fp-const0-parsing.s: New test.
* gas/aarch64/fp-const0-parsing.d: Likewise.

11 years agoopcodes/
Yufeng Zhang [Thu, 27 Feb 2014 14:55:46 +0000 (14:55 +0000)] 
opcodes/

* aarch64-opc.c (print_register_offset_address): Call
get_int_reg_name to prepare the register name.

gas/testsuite/

* gas/aarch64/ldst-reg-reg-offset.s: Add tests.
* gas/aarch64/ldst-reg-reg-offset.d: Update.

11 years agodaily update
Alan Modra [Wed, 26 Feb 2014 23:00:42 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 25 Feb 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 24 Feb 2014 23:00:15 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 23 Feb 2014 23:00:15 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 22 Feb 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 21 Feb 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 20 Feb 2014 23:00:19 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 19 Feb 2014 23:00:19 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 18 Feb 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 17 Feb 2014 23:00:13 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 16 Feb 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 15 Feb 2014 23:00:24 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 14 Feb 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Thu, 13 Feb 2014 23:00:20 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 12 Feb 2014 23:00:20 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 11 Feb 2014 23:00:27 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 10 Feb 2014 23:00:43 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 9 Feb 2014 23:00:15 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 8 Feb 2014 23:00:34 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 7 Feb 2014 23:00:16 +0000 (09:30 +1030)] 
daily update

11 years ago * cache.c (bfd_cache_max_open): Cast RLIM_INFINITY to rlim_t.
Rainer Orth [Fri, 7 Feb 2014 14:51:17 +0000 (15:51 +0100)] 
* cache.c (bfd_cache_max_open): Cast RLIM_INFINITY to rlim_t.

11 years agodaily update
Alan Modra [Thu, 6 Feb 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Wed, 5 Feb 2014 23:00:34 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Tue, 4 Feb 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Mon, 3 Feb 2014 23:00:20 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sun, 2 Feb 2014 23:00:17 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Sat, 1 Feb 2014 23:00:18 +0000 (09:30 +1030)] 
daily update

11 years agodaily update
Alan Modra [Fri, 31 Jan 2014 23:00:22 +0000 (09:30 +1030)] 
daily update

11 years agoAdd gather/scatter tests with incorrect memory operand
Michael Zolotukhin [Fri, 31 Jan 2014 16:13:06 +0000 (08:13 -0800)] 
Add gather/scatter tests with incorrect memory operand

2014-01-31  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

PR gas/16488
* gas/i386/inval-avx512f.s: Add test for incorrect memory operand
for gather/scatter instructions.
* gas/i386/x86-64-inval-avx512f.s: Likewise.
* gas/i386/inval-avx512f.l: Adjust correspondingly.
* gas/i386/x86-64-inval-avx512f.l: Likewise.

Conflicts:
gas/testsuite/ChangeLog

11 years agoFix shift for AVX512F gather/scatter instructions
Michael Zolotukhin [Thu, 30 Jan 2014 15:38:09 +0000 (07:38 -0800)] 
Fix shift for AVX512F gather/scatter instructions

opcodes/

2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    Jan Beulich  <jbeulich@suse.com>

PR binutils/16490
* i386-dis.c (OP_E_memory): Fix shift computation for
vex_vsib_q_w_dq_mode.

gas/testsuite/

2014-01-30  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
    Jan Beulich  <jbeulich@suse.com>

PR binutils/16490
* gas/i386/avx512f.d: Fix test output.
* gas/i386/avx512f-intel.d: Likewise.
* gas/i386/x86-64-avx512f.d: Likewise.
* gas/i386/x86-64-avx512f-intel.d: Likewise.

Conflicts:
gas/testsuite/ChangeLog

11 years agoRemove regzmm from AVX2 gather assert
Michael Zolotukhin [Wed, 22 Jan 2014 19:39:02 +0000 (11:39 -0800)] 
Remove regzmm from AVX2 gather assert

Since regzmm can't be used in AVX2 gather instructions, there is no need
to check regzmm in AVX2 gather assert.

2014-01-22  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>

* config/tc-i386.c (check_VecOperands): Remove regzmm from AVX2
gather assert.