[Bug binutils/10494] strip modified vaddr of program headers in ePAPR Fixed Address Image Format

2009-08-06 Thread harry dot he at freescale dot com
--- Additional Comments From harry dot he at freescale dot com 2009-08-07 06:07 --- Created an attachment (id=4119) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4119&action=view) ePAPR format elf file after stripping -- http://sourceware.org/bugzilla/show_bug.cgi?id=10494

[Bug binutils/10494] strip modified vaddr of program headers in ePAPR Fixed Address Image Format

2009-08-06 Thread harry dot he at freescale dot com
--- Additional Comments From harry dot he at freescale dot com 2009-08-07 06:06 --- Created an attachment (id=4118) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4118&action=view) ePAPR format elf file before stripping -- http://sourceware.org/bugzilla/show_bug.cgi?id=10494

[Bug binutils/10494] New: strip modified vaddr of program headers in ePAPR Fixed Address Image Format

2009-08-06 Thread harry dot he at freescale dot com
We created one elf file in ePAPR Fixed Address Image Format, with an identity mapping between effective and physical addresses. However, with "strip" command, the vaddr of one program header is changed as below: before stripping: 0x8 off0x vaddr 0x2c00 paddr 0x2c00 align 2

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-07 03:06 --- How do you know it is using the new ld (with the patch in comment #4!!)? I specified -v -Wl,-v for a good reason. Please run (from your build dir) the single gcc command you show in comment #6 with these

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors

2009-08-06 Thread giffordj at la dot twcbc dot com
--- Additional Comments From giffordj at la dot twcbc dot com 2009-08-07 02:08 --- Just did a build complete from Scratch, it's using the new ld. I also tried the latest binutils snapshot from 8/4/2009 and 8/5/2009. Some result. It takes me about 12 hours to build the complete toolchain

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-06 23:17 --- Are you absolutely certain that gcc is invoking the new ld? (Add -v -Wl,-v to gcc flags.) I think you are still using an old ld. -- http://sourceware.org/bugzilla/show_bug.cgi?id=10474 --- You a

[Bug gas/10479] Too strict checks for addw / subw instructions

2009-08-06 Thread nlewycky at google dot com
-- What|Removed |Added CC||nlewycky at google dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10479 --- You are receiving thi

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-06 16:22 --- Subject: Bug 10492 CVSROOT:/cvs/src Module name:src Changes by: h...@sourceware.org 2009-08-06 16:22:36 Modified files: binutils/testsuite: ChangeLog binutils/testsu

[Bug ld/10474] relocation truncated to fit: R_PPC_REL24 errors

2009-08-06 Thread giffordj at la dot twcbc dot com
--- Additional Comments From giffordj at la dot twcbc dot com 2009-08-06 15:57 --- Still having the same issue. Rebuilt the entire toolchain. gcc -isystem /usr/include -m32 -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-q

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread cvs-commit at gcc dot gnu dot org
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-08-06 13:08 --- Subject: Bug 10492 CVSROOT:/cvs/src Module name:src Changes by: ja...@sourceware.org2009-08-06 13:08:24 Modified files: bfd: ChangeLog elf.c elf32-mips.c elfn32-m

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-06 12:51 --- Please commit -- What|Removed |Added Status|NEW |RESOL

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2009-08-06 12:45 --- Created an attachment (id=4114) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4114&action=view) binutils-bz10492.patch Indeed, you're right. Following patch cures it. -- http://sourceware.org/bugzill

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-08-06 12:36 --- sounds like a tweak to sym_is_global is needed -- http://sourceware.org/bugzilla/show_bug.cgi?id=10492 --- You are receiving this mail because: --- You are on the CC list for the bug, or are w

[Bug binutils/10492] strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread jakub at redhat dot com
--- Additional Comments From jakub at redhat dot com 2009-08-06 12:29 --- With s/gnu_object_// it works, the difference in readelf -Wa between y.o and z.o is just the order of local symbols in .symtab. But with STB_GNU_UNIQUE, the _ZN1AIiE1aE symbol (UNIQUE) is also reordered, between ot

[Bug binutils/10492] New: strip -g breaks objects with STB_GNU_UNIQUE

2009-08-06 Thread jakub at redhat dot com
cat > x.s <<\EOF .section.data.rel.ro,"aw",@progbits .align 16 .type_ZZ3fooiE1t, @object .size_ZZ3fooiE1t, 16 _ZZ3fooiE1t: .quad_ZN1AIiE1aE .quad0 .weak_ZN1AIiE1aE .section.rodata._ZN1AIiE1aE,"aG",@progbits,_ZN1AIiE1aE,comdat .align 4 .type_ZN1AIiE1aE, @gnu_unique_object .size_ZN1AIiE1aE, 4 _ZN1AIi

[Bug ld/10397] looping in map_segments

2009-08-06 Thread gnu at broadmeadow dot eu
--- Additional Comments From gnu at broadmeadow dot eu 2009-08-06 11:18 --- Ok, I goofed - apologies for the time wasting. Although I built and installed a new binutils, the new version was not being picked up (long story involving a myriad of symbolic links and Suse vs Debian differenc