[Bug binutils/14768] Checklist: Binutils Migration To Git
http://sourceware.org/bugzilla/show_bug.cgi?id=14768 Ian Lance Taylor changed: What|Removed |Added CC||ian at airs dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 ld/14747] undefined reference to `_GLOBAL_OFFSET_TABLE_' with -flto
http://sourceware.org/bugzilla/show_bug.cgi?id=14747 --- Comment #13 from H.J. Lu 2012-10-26 22:54:43 UTC --- I pushed linux/release/2.23.51.0.4 branch to http://git.kernel.org/?p=linux/kernel/git/hjl/binutils.git;a=summary This is a git-only, silent release. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14663] strip --only-keep-debug doesn't remove .text, etc.
http://sourceware.org/bugzilla/show_bug.cgi?id=14663 --- Comment #7 from dje at google dot com 2012-10-26 22:37:54 UTC --- I think a few extra words, noting that the contents are gone, but the section headers remain, would go a long way. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14663] strip --only-keep-debug doesn't remove .text, etc.
http://sourceware.org/bugzilla/show_bug.cgi?id=14663 --- Comment #6 from Andreas Schwab 2012-10-26 22:30:05 UTC --- It already says it: `--only-keep-debug' Strip a file, removing contents of any sections that would not be ^ stripped by `--strip-debug' and leaving the debugging sections intact. In ELF files, this preserves all note sections in the output. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14663] strip --only-keep-debug doesn't remove .text, etc.
http://sourceware.org/bugzilla/show_bug.cgi?id=14663 dje at google dot com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #5 from dje at google dot com 2012-10-26 21:53:26 UTC --- Clarification in the documentation required then. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14663] strip --only-keep-debug doesn't remove .text, etc.
http://sourceware.org/bugzilla/show_bug.cgi?id=14663 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #4 from Alan Modra 2012-10-26 21:49:16 UTC --- Your grep misses the relevant line. Add -w to objdump or -2 to grep options. gcc -g hello.c && (objdump -w -h a.out | grep text) 11 .text 0430 1490 1490 0490 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE gcc -g hello.c && strip --only-keep-debug a.out && (objdump -w -h a.out | grep text) 11 .text 0430 1490 1490 0258 2**4 ALLOC, READONLY, CODE Notice lack of CONTENTS after stripping. Keeping the section headers like this gives a user confidence that a debug file matches his binary.. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14541] Wrong entry point computation using cross binutils linux amd64->arm-linux-gnueabihf
http://sourceware.org/bugzilla/show_bug.cgi?id=14541 --- Comment #5 from Nick Clifton 2012-10-26 16:31:05 UTC --- Hi Eric, Those are Thumb instructions. Which explains why the bottom bit is set. I am not familiar with the ARM processor on the PI. Maybe it is incapable of executing these instructions ? Perhaps you should specify the ARM processor type when you compile your program ? Cheers Nick -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14768] Checklist: Binutils Migration To Git
http://sourceware.org/bugzilla/show_bug.cgi?id=14768 Tom Tromey changed: What|Removed |Added CC||tromey at redhat dot com -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14663] strip --only-keep-debug doesn't remove .text, etc.
http://sourceware.org/bugzilla/show_bug.cgi?id=14663 --- Comment #3 from dje at google dot com 2012-10-26 15:55:37 UTC --- Testcase: gcc -g hello.c && strip --only-keep-debug a.out && (objdump -h a.out | grep text) -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14541] Wrong entry point computation using cross binutils linux amd64->arm-linux-gnueabihf
http://sourceware.org/bugzilla/show_bug.cgi?id=14541 --- Comment #4 from Eric Valette 2012-10-26 15:03:23 UTC --- 8880 <_start>: 8880: f04f 0b00 mov.w fp, #0 8884: f04f 0e00 mov.w lr, #0 : f85d 1b04 ldr.w r1, [sp], #4 888c: 466amov r2, sp 888e: f84d 2d04 str.w r2, [sp, #-4]! 8892: f84d 0d04 str.w r0, [sp, #-4]! 8896: f8df c014 ldr.w ip, [pc, #20] ; 88ac <_start+0x2c> 889a: f84d cd04 str.w ip, [sp, #-4]! 889e: 4804ldr r0, [pc, #16] ; (88b0 <_start+0x30>) 88a0: 4b04ldr r3, [pc, #16] ; (88b4 <_start+0x34>) 88a2: f000 f8ad bl 8a00 <__libc_start_main> 88a6: f000 fb93 bl 8fd0 88aa: .short 0x 88ac: 8f65.word 0x8f65 88b0: 89e4.word 0x89e4 88b4: 8ef9.word 0x8ef9 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 binutils/14541] Wrong entry point computation using cross binutils linux amd64->arm-linux-gnueabihf
http://sourceware.org/bugzilla/show_bug.cgi?id=14541 Nick Clifton changed: What|Removed |Added Status|NEW |WAITING CC||nickc at redhat dot com --- Comment #3 from Nick Clifton 2012-10-26 14:51:28 UTC --- Hi Eric, The usual reason for the bottom bit of a function-like symbol being set is because it is a THUMB mode function entry point. Could this be what is happening here. Ie, are you linking against a thumb encoded version of _start ? If you disassemble the code at _start, what does it look like ? Cheers Nick -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 ld/14528] Assertion failed while linking clang's object files under ARM
http://sourceware.org/bugzilla/show_bug.cgi?id=14528 Nick Clifton changed: What|Removed |Added Status|NEW |UNCONFIRMED CC||nickc at redhat dot com Ever Confirmed|1 |0 --- Comment #1 from Nick Clifton 2012-10-26 14:38:19 UTC --- Hi Robert, Have you tried: a) using a newer linker than version 2.22 b) checking that all of the object files and libraries that you are linking together have the same requirements with regard to hardware floating point support (or lack thereof). If so, then please can you put together a small test case (preferably consisting of just object files and a linker command line) so that I can try to reproduce the problem. Cheers Nick -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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: Missing symbol name in directive
On Thu, Oct 25, 2012 at 10:27:32PM +0200, Pieter De Mil wrote: > On 10/25/2012 01:28 AM, Alan Modra wrote: > >On Wed, Oct 24, 2012 at 02:05:49PM +0200, Pieter De Mil wrote: > >>/tmp/cc22PMWw.s: Assembler messages: > >>/tmp/cc22PMWw.s:10902: Error: Missing symbol name in directive > >>/tmp/cc22PMWw.s:10902: Error: junk at end of line, first > >>unrecognized character is `x' > >>/tmp/cc22PMWw.s:10903: Error: expected comma after name `' in .size > >>directive > >>/tmp/cc22PMWw.s:10904: Error: junk at end of line, first > >>unrecognized character is `0' > >Your source contains syntax errors. Fix it. Older versions of gas > >accepted bad .size directives and silently generated bad code. > > > Thanks for your reply. > > I found the error, it was in my makefile: > I removed CFLAGS += -fdata-sections > http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Optimize-Options.html#index-ffunction_002dsections-895 > > Now it compiles (I also removed -ffunction-sections) > > PFLAGS += --verbose > CFLAGS += -mmcu=msp430f5437 > #CFLAGS += -ffunction-sections > #CFLAGS += -fdata-sections > CFLAGS += -mmemory-model=medium > OPTFLAGS += -Os Hmm, I may have jumped to the wrong conclusion. I was thinking that your problem was user asm, but this does look like a gcc or gas bug. If you put -ffunction-section and -fdata-sections back into CFLAGS, and also add -save-temps, then gcc should keep the source files passed to the assembler so you can have a look at them. What do the lines with errors look like? -- Alan Modra Australia Development Lab, IBM ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
Re: Missing symbol name in directive
On 10/25/2012 01:28 AM, Alan Modra wrote: On Wed, Oct 24, 2012 at 02:05:49PM +0200, Pieter De Mil wrote: /tmp/cc22PMWw.s: Assembler messages: /tmp/cc22PMWw.s:10902: Error: Missing symbol name in directive /tmp/cc22PMWw.s:10902: Error: junk at end of line, first unrecognized character is `x' /tmp/cc22PMWw.s:10903: Error: expected comma after name `' in .size directive /tmp/cc22PMWw.s:10904: Error: junk at end of line, first unrecognized character is `0' Your source contains syntax errors. Fix it. Older versions of gas accepted bad .size directives and silently generated bad code. Thanks for your reply. I found the error, it was in my makefile: I removed CFLAGS += -fdata-sections http://gcc.gnu.org/onlinedocs/gcc-4.7.0/gcc/Optimize-Options.html#index-ffunction_002dsections-895 Now it compiles (I also removed -ffunction-sections) PFLAGS += --verbose CFLAGS += -mmcu=msp430f5437 #CFLAGS += -ffunction-sections #CFLAGS += -fdata-sections CFLAGS += -mmemory-model=medium OPTFLAGS += -Os kind regards, Pieter ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils