[Bug ld/11217] Automatic multiple TOC and __thread problems

2010-01-27 Thread amodra at gmail dot com

--- Additional Comments From amodra at gmail dot com  2010-01-27 12:22 
---
Oops, that isn't right about ppc64 @got relocs.  They can and do go into
multiple TOC groups.  The error was that the GOT entry offset calculation was
assuming the first TOC group.

-- 


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

--- 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/11217] Automatic multiple TOC and __thread problems

2010-01-27 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-01-27 
12:44 ---
Subject: Bug 11217

CVSROOT:/cvs/src
Module name:src
Changes by: amo...@sourceware.org   2010-01-27 12:44:07

Modified files:
bfd: ChangeLog elf64-ppc.c 

Log message:
PR ld/11217
* elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
(ppc64_elf_setup_section_lists): Init them.
(ppc64_elf_next_toc_section): Don't partition multi-toc between .got
and .toc on the same input file.
(ppc64_elf_relocate_section): Correct GOT entry offset.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4903&r2=1.4904
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&r1=1.308&r2=1.309



-- 


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

--- 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/11217] Automatic multiple TOC and __thread problems

2010-01-27 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-01-27 
12:51 ---
Subject: Bug 11217

CVSROOT:/cvs/src
Module name:src
Branch: binutils-2_20-branch
Changes by: amo...@sourceware.org   2010-01-27 12:51:24

Modified files:
bfd: ChangeLog elf64-ppc.c 

Log message:
PR ld/11217
* elf64-ppc.c (struct ppc_link_hash_table): Add toc_bfd, toc_first_sec.
(ppc64_elf_setup_section_lists): Init them.
(ppc64_elf_next_toc_section): Don't partition multi-toc between .got
and .toc on the same input file.
(ppc64_elf_relocate_section): Correct GOT entry offset.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.4761.2.40&r2=1.4761.2.41
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf64-ppc.c.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.299.2.7&r2=1.299.2.8



-- 


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

--- 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/11225] New: objdump -j silently ignore bad section name

2010-01-27 Thread hjl dot tools at gmail dot com
h...@lsnb0-64-fc12 gdbserver-1]$ objdump -s -j fpp /bin/ls

/bin/ls: file format elf64-x86-64

[...@lsnb0-64-fc12 gdbserver-1]$ echo $?
0
[...@lsnb0-64-fc12 gdbserver-1]$ 

I was expecting an error, at least a warning.

-- 
   Summary: objdump -j silently ignore bad section name
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: bug-binutils at gnu dot org


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

--- 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: Porting Binutils to A New Target And Getting Error.

2010-01-27 Thread Prashant Purohit

 Hi,  

   I created/modified the following files under ../binutils-2.19/ld   :

   1. Configure.tgt  - Added support for my_target-*-elf*
   2. Makefile.am- Added eelf32my_target.o under ALL_EMULATIONS and
eelf32my_target.c similar to what is done for CR16.

   3. emulparams/elf32my_target.sh - similar to CR16
   4. emultempl/my_targetelf.em- similar to CR16
   5. scripttempl/elf32tel_arm9.sc - similar to CR16


Still getting the same error while building.

gcc: eelf32my_target.o: No such file or directory

Thanks & Regards,
Prashant.



-- 
View this message in context: 
http://old.nabble.com/Porting-Binutils-to-A-New-Target-And-Getting-Error.-tp27058018p27334472.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.



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