[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=srcr1=1.4940r2=1.4941
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elfxx-mips.c.diff?cvsroot=srcr1=1.266r2=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


[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 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 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 prefixaddsubx
and prefixsubaddx 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


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:prefixaddsubx 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 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=srcr1=1.4941r2=1.4942
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf.c.diff?cvsroot=srcr1=1.504r2=1.505
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=srcr1=1.2113r2=1.2114
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=srcr1=1.331r2=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 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