[Bug gas/11323] New: Need representation of the offset from a label to a GOT entry

2010-02-24 Thread carrot at google dot com
To implement the optimization described in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43129, we need to represent the
offset from a code label to a global variable's GOT entry. This can be
implemented through the arm relocation R_ARM_GOT_PREL. But currently we can't
represent it according to
http://sourceware.org/binutils/docs-2.20/as/ARM_002dRelocations.html#ARM_002dRelocations.

-- 
   Summary: Need representation of the offset from a label to a GOT
entry
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: carrot at google dot com
CC: bug-binutils at gnu dot org,carrot at google dot com
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: arm-eabi


http://sourceware.org/bugzilla/show_bug.cgi?id=11323

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11304] ld --section-start does not work correctly if section is defined in multiple object files

2010-02-24 Thread amodra at gmail dot com

--- Additional Comments From amodra at gmail dot com  2010-02-25 03:55 
---
And stay fixed this time.

-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=11304

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11304] ld --section-start does not work correctly if section is defined in multiple object files

2010-02-24 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-02-25 
03:49 ---
Subject: Bug 11304

CVSROOT:/cvs/src
Module name:src
Changes by: amo...@sourceware.org   2010-02-25 03:49:15

Modified files:
bfd: ChangeLog elf.c 
ld : ChangeLog ldlang.c 

Log message:
bfd/
PR ld/11304
* elf.c (_bfd_elf_init_private_section_data): Rename need_group
to final_link and invert.  For final link allow some flags to
differ.  Don't specially allow flags to be all zero.
ld/
* ldlang.c (init_os): Remove isec param.  Don't check for
bfd_section already set or call bfd_init_private_section_data
here.
(exp_init_os): Update init_os call.
(lang_add_section): Tidy.  Really don't set SEC_LINK_ONCE
flags.  Call bfd_init_private_section_data here.
(map_input_to_output_sections): Tidy.  Update init_os calls.
Use os->sectype to select sec flags for lang_data_statement.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4941&r2=1.4942
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=src&r1=1.504&r2=1.505
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2113&r2=1.2114
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.331&r2=1.332



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11304

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/6773] Typo in ARM saddsubx mnemonic

2010-02-24 Thread jonas dot maebe at elis dot ugent dot be

--- Additional Comments From jonas dot maebe at elis dot ugent dot be  
2010-02-24 15:25 ---
Thanks!

-- 
   What|Removed |Added

 Status|RESOLVED|VERIFIED


http://sourceware.org/bugzilla/show_bug.cgi?id=6773

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: objdump: ARMv6 asx and sax mnemonics

2010-02-24 Thread Nick Clifton

Hi Nils,


Hi everyone. I hope this is the correct list for this issue:

It is.


This is wrong:addsubx would be more correct. (See Bug
binutils/6773)


I have just checked in a patch to fix this bug.


And while I'm at it: Is there any reason to use non-standard mnemonics
for these instructions?


No, it was an oversight.

Cheers
  Nick


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/6773] Typo in ARM saddsubx mnemonic

2010-02-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-02-24 15:12 
---
Hi Jonas,

  I have checked in a patch to fix the disassembly of all of the addsubx
and subaddx instructions so that they now use the UAL names.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=6773

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/6773] Typo in ARM saddsubx mnemonic

2010-02-24 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-02-24 
15:12 ---
Subject: Bug 6773

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-02-24 15:11:44

Modified files:
opcodes: ChangeLog arm-dis.c 
gas/testsuite  : ChangeLog 
gas/testsuite/gas/arm: arch7em.d archv6.d thumb32.d 

Log message:
PR binutils/6773
* arm-dis.c (arm_opcodes): Replace addsubx with
asx.  Replace subaddx with sax.
(thumb32_opcodes): Likewise.

* gas/arm/arch7em.d: Replace expected disassembly of
addsubx with asx.  Also replace subaddx
with sax.
* gas/arm/archv6.d: Likewise.
* gas/arm/thumb32.d: Likewise.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/ChangeLog.diff?cvsroot=src&r1=1.1570&r2=1.1571
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/opcodes/arm-dis.c.diff?cvsroot=src&r1=1.123&r2=1.124
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1640&r2=1.1641
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/arch7em.d.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/archv6.d.diff?cvsroot=src&r1=1.6&r2=1.7
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/testsuite/gas/arm/thumb32.d.diff?cvsroot=src&r1=1.34&r2=1.35



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=6773

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/10858] ld generate broken PIE binaries on MIPS

2010-02-24 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-02-24 14:22 
---
Hi Jay, Hi Aurelian,

  I have checked in the modified version of Alan's patch.

Cheers
  Nick


-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10858

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/10858] ld generate broken PIE binaries on MIPS

2010-02-24 Thread jay dot foad at gmail dot com

--- Additional Comments From jay dot foad at gmail dot com  2010-02-24 
14:24 ---
Thanks Nick!

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10858

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/10858] ld generate broken PIE binaries on MIPS

2010-02-24 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-02-24 
14:22 ---
Subject: Bug 10858

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-02-24 14:21:51

Modified files:
bfd: ChangeLog elfxx-mips.c 

Log message:
PR binutils/10858
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Ise
SYMBOL_REFERENCES_LOCAL to exclude entries from the dynamic symbol
table.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4940&r2=1.4941
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elfxx-mips.c.diff?cvsroot=src&r1=1.266&r2=1.267



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10858

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils