[Bug gas/20364] Data-based padding causes current address evaluation to be non-constant on aarch64

2016-10-19 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=20364

--- Comment #5 from cvs-commit at gcc dot gnu.org  ---
The linaro_binutils-2_27-branch branch has been updated by Christophe Lyon
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eb65c97589b3c6a5c2954cea45c068b30c751b51

commit eb65c97589b3c6a5c2954cea45c068b30c751b51
Author: Nick Clifton 
Date:   Fri Aug 5 10:37:57 2016 +0100

Fix the generation of alignment frags in code sections for AArch64.

PR gas/20364
* config/tc-aarch64.c (s_ltorg): Change the mapping state after
aligning the frag.
(aarch64_init): Treat rs_align frags in code sections as
containing code, not data.
* testsuite/gas/aarch64/pr20364.s: New test.
* testsuite/gas/aarch64/pr20364.d: New test driver.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/20717] --gc-sections fails to remove an unused orphan section if the last output section has a KEEP command.

2016-10-19 Thread ikudrin.dev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20717

Igor Kudrin  changed:

   What|Removed |Added

 CC||ikudrin.dev at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Translatable strings not marked 'c-format'

2016-10-19 Thread Nick Clifton
Hi Ask,

> In the translation template for bfd [1], very few strings have the
> c-format tag which makes gettext able to tell if placeholders (%s, %d,
> ...) are mistranslated.  This typically affects the substitution codes
> %B and %A.
> 
> It is very unlikely that any translator can translate all 1400 strings
> without a single error in the substitution codes, which could have
> nasty consequences - I think.  Can this be improved somehow?

I have checked in the attached patch to update the sources in the BFD
library.  Other directories (eg ld, gas, etc) will probably also need
an update, but I am leaving this for another time.

Cheers
  Nick

bfd/ChangeLog
2016-10-19  Nick Clifton  

* aout-adobe.c: Add missing c-format tags for translatable strings.
* aout-cris.c: Likewise.
* aoutx.h: Likewise.
* bfd.c: Likewise.
* binary.c: Likewise.
* cache.c: Likewise.
* coff-alpha.c: Likewise.
* coff-arm.c: Likewise.
* coff-i860.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic4x.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* coffswap.h: Likewise.
* cpu-arm.c: Likewise.
* dwarf2.c: Likewise.
* ecoff.c: Likewise.
* elf-attrs.c: Likewise.
* elf-eh-frame.c: Likewise.
* elf-ifunc.c: Likewise.
* elf-m10300.c: Likewise.
* elf-s390-common.c: Likewise.
* elf.c: Likewise.
* elf32-arc.c: Likewise.
* elf32-arm.c: Likewise.
* elf32-avr.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-cr16.c: Likewise.
* elf32-cr16c.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-crx.c: Likewise.
* elf32-d10v.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-epiphany.c: Likewise.
* elf32-fr30.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-i960.c: Likewise.
* elf32-ip2k.c: Likewise.
* elf32-iq2000.c: Likewise.
* elf32-lm32.c: Likewise.
* elf32-m32c.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mep.c: Likewise.
* elf32-metag.c: Likewise.
* elf32-microblaze.c: Likewise.
* elf32-moxie.c: Likewise.
* elf32-msp430.c: Likewise.
* elf32-mt.c: Likewise.
* elf32-nds32.c: Likewise.
* elf32-nios2.c: Likewise.
* elf32-or1k.c: Likewise.
* elf32-pj.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-rl78.c: Likewise.
* elf32-rx.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-score.c: Likewise.
* elf32-score7.c: Likewise.
* elf32-sh-symbian.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-spu.c: Likewise.
* elf32-tic6x.c: Likewise.
* elf32-tilepro.c: Likewise.
* elf32-v850.c: Likewise.
* elf32-vax.c: Likewise.
* elf32-visium.c: Likewise.
* elf32-xgate.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ia64-vms.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.c: Likewise.
* elfnn-aarch64.c: Likewise.
* elfnn-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-sparc.c: Likewise.
* elfxx-tilegx.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.c: Likewise.
* merge.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peXXigen.c: Likewise.
* pei-x86_64.c: Likewise.
* peicode.h: Likewise.
* ppcboot.c: Likewise.
* reloc.c: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* stabs.c: Likewise.
* vms-alpha.c: Likewise.
<   * vms-lib.c: Likewise.
* xcofflink.c: Likewise.


bfd.c-format.patch.xz
Description: application/xz
___
bug-bin

[Bug gold/20717] New: --gc-sections fails to remove an unused orphan section if the last output section has a KEEP command.

2016-10-19 Thread ikudrin.dev at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20717

Bug ID: 20717
   Summary: --gc-sections fails to remove an unused orphan section
if the last output section has a KEEP command.
   Product: binutils
   Version: 2.28 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: gold
  Assignee: ccoutant at gmail dot com
  Reporter: ikudrin.dev at gmail dot com
CC: ian at airs dot com
  Target Milestone: ---

Steps to reproduce:

$ cat > test.cc << EOF
void unused() {}
int main() {return 0;}
EOF

$ cat > test.t << EOF
SECTIONS
{
.dummy : { KEEP (*(.dummy)) }
}
EOF

$ gcc -O0 -ffunction-sections -c test.cc -o test.o
$ gcc -fuse-ld=gold -Wl,--gc-sections,-T,test.t test.o -o test
$ nm -C test | grep unused
01e9 T unused()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Translatable strings not marked 'c-format'

2016-10-19 Thread Ask Hjorth Larsen
Hi Nick

Thank you.  I thought the c-format flag was always automatic and thus
I wonder if perhaps the format checker is not aware of the codes like
%A and %B - but this I cannot say.  Do you know when the translation
templates on translationproject.org will be updated?

Best regards
Ask

2016-10-19 14:52 GMT+02:00 Nick Clifton :
> Hi Ask,
>
>> In the translation template for bfd [1], very few strings have the
>> c-format tag which makes gettext able to tell if placeholders (%s, %d,
>> ...) are mistranslated.  This typically affects the substitution codes
>> %B and %A.
>>
>> It is very unlikely that any translator can translate all 1400 strings
>> without a single error in the substitution codes, which could have
>> nasty consequences - I think.  Can this be improved somehow?
>
> I have checked in the attached patch to update the sources in the BFD
> library.  Other directories (eg ld, gas, etc) will probably also need
> an update, but I am leaving this for another time.
>
> Cheers
>   Nick
>
> bfd/ChangeLog
> 2016-10-19  Nick Clifton  
>
> * aout-adobe.c: Add missing c-format tags for translatable strings.
> * aout-cris.c: Likewise.
> * aoutx.h: Likewise.
> * bfd.c: Likewise.
> * binary.c: Likewise.
> * cache.c: Likewise.
> * coff-alpha.c: Likewise.
> * coff-arm.c: Likewise.
> * coff-i860.c: Likewise.
> * coff-mcore.c: Likewise.
> * coff-ppc.c: Likewise.
> * coff-rs6000.c: Likewise.
> * coff-sh.c: Likewise.
> * coff-tic4x.c: Likewise.
> * coff-tic54x.c: Likewise.
> * coff-tic80.c: Likewise.
> * coff64-rs6000.c: Likewise.
> * coffcode.h: Likewise.
> * coffgen.c: Likewise.
> * cofflink.c: Likewise.
> * coffswap.h: Likewise.
> * cpu-arm.c: Likewise.
> * dwarf2.c: Likewise.
> * ecoff.c: Likewise.
> * elf-attrs.c: Likewise.
> * elf-eh-frame.c: Likewise.
> * elf-ifunc.c: Likewise.
> * elf-m10300.c: Likewise.
> * elf-s390-common.c: Likewise.
> * elf.c: Likewise.
> * elf32-arc.c: Likewise.
> * elf32-arm.c: Likewise.
> * elf32-avr.c: Likewise.
> * elf32-bfin.c: Likewise.
> * elf32-cr16.c: Likewise.
> * elf32-cr16c.c: Likewise.
> * elf32-cris.c: Likewise.
> * elf32-crx.c: Likewise.
> * elf32-d10v.c: Likewise.
> * elf32-d30v.c: Likewise.
> * elf32-epiphany.c: Likewise.
> * elf32-fr30.c: Likewise.
> * elf32-frv.c: Likewise.
> * elf32-gen.c: Likewise.
> * elf32-hppa.c: Likewise.
> * elf32-i370.c: Likewise.
> * elf32-i386.c: Likewise.
> * elf32-i960.c: Likewise.
> * elf32-ip2k.c: Likewise.
> * elf32-iq2000.c: Likewise.
> * elf32-lm32.c: Likewise.
> * elf32-m32c.c: Likewise.
> * elf32-m32r.c: Likewise.
> * elf32-m68hc11.c: Likewise.
> * elf32-m68hc12.c: Likewise.
> * elf32-m68hc1x.c: Likewise.
> * elf32-m68k.c: Likewise.
> * elf32-mcore.c: Likewise.
> * elf32-mep.c: Likewise.
> * elf32-metag.c: Likewise.
> * elf32-microblaze.c: Likewise.
> * elf32-moxie.c: Likewise.
> * elf32-msp430.c: Likewise.
> * elf32-mt.c: Likewise.
> * elf32-nds32.c: Likewise.
> * elf32-nios2.c: Likewise.
> * elf32-or1k.c: Likewise.
> * elf32-pj.c: Likewise.
> * elf32-ppc.c: Likewise.
> * elf32-rl78.c: Likewise.
> * elf32-rx.c: Likewise.
> * elf32-s390.c: Likewise.
> * elf32-score.c: Likewise.
> * elf32-score7.c: Likewise.
> * elf32-sh-symbian.c: Likewise.
> * elf32-sh.c: Likewise.
> * elf32-sh64.c: Likewise.
> * elf32-spu.c: Likewise.
> * elf32-tic6x.c: Likewise.
> * elf32-tilepro.c: Likewise.
> * elf32-v850.c: Likewise.
> * elf32-vax.c: Likewise.
> * elf32-visium.c: Likewise.
> * elf32-xgate.c: Likewise.
> * elf32-xtensa.c: Likewise.
> * elf64-alpha.c: Likewise.
> * elf64-gen.c: Likewise.
> * elf64-hppa.c: Likewise.
> * elf64-ia64-vms.c: Likewise.
> * elf64-mmix.c: Likewise.
> * elf64-ppc.c: Likewise.
> * elf64-s390.c: Likewise.
> * elf64-sh64.c: Likewise.
> * elf64-sparc.c: Likewise.
> * elf64-x86-64.c: Likewise.
> * elfcode.h: Likewise.
> * elfcore.h: Likewise.
> * elflink.c: Likewise.
> * elfnn-aarch64.c: Likewise.
> * elfnn-ia64.c: Likewise.
> * elfxx-mips.c: Likewise.
> * elfxx-sparc.c: Likewise.
> * elfxx-tilegx.c: Likewise.
> * ieee.c: Likewise.
> * ihex.c: Likewise.
> * libbfd.c: Likewise.
> * linker.c: Likewise.
> * m68klinux.c: Likewise.
> * mach-o.c: Likewise.
> * merge.c

[Bug binutils/20706] [libopcodes][x86] invalid quadword XOP instructions using %ymm registers

2016-10-19 Thread amit.pawar at amd dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20706

--- Comment #2 from Amit Pawar  ---
Please allow some time to check and will update you on this.

-Original Message-
From: hjl.tools at gmail dot com [mailto:sourceware-bugzi...@sourceware.org] 
Sent: Tuesday, October 18, 2016 9:08 PM
To: Pawar, Amit 
Subject: [Bug binutils/20706] [libopcodes][x86] invalid quadword XOP
instructions using %ymm registers

https://sourceware.org/bugzilla/show_bug.cgi?id=20706

H.J. Lu  changed:

   What|Removed |Added

 CC||amit.pawar at amd dot com,
   ||hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu  --- Add AMD contact.

--
You are receiving this mail because:
You are on the CC list for the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils