[Bug ld/12565] NOLOAD sections empty

2011-03-15 Thread jifl-bugzilla at jifvik dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12565 --- Comment #2 from Jonathan Larmour 2011-03-15 19:52:27 UTC --- Yes here's a definite way to reproduce. I can definitely confirm it's platform-independent in fact as I've reproduced it with native Linux. Here it is in annoying detail purely f

[Bug ld/12557] gcc & Firefox fail to build with -flto and --as-needed LDFLAGS

2011-03-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12557 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #29 from H.J. Lu 2011-03-15

[Bug ld/12565] NOLOAD sections empty

2011-03-15 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=12565 --- Comment #3 from H.J. Lu 2011-03-15 22:21:57 UTC --- Created attachment 5312 --> http://sourceware.org/bugzilla/attachment.cgi?id=5312 A patch Although the linker script is bad, this patch help it. -- Configure bugmail: http://sourcewa

[Bug ld/12565] NOLOAD sections empty

2011-03-15 Thread jifl-bugzilla at jifvik dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12565 --- Comment #4 from Jonathan Larmour 2011-03-15 22:37:58 UTC --- (In reply to comment #3) > Created attachment 5312 [details] > A patch > > Although the linker script is bad, this patch help it. Sorry, I was trying to emphasise earlier that

[Bug ld/12565] NOLOAD sections empty

2011-03-15 Thread jifl-bugzilla at jifvik dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=12565 --- Comment #5 from Jonathan Larmour 2011-03-15 22:39:05 UTC --- (In reply to comment #4) > > And edit script.ld to include: > .foobar0 : { *(.foobar) } > and you see useful data. All well and good. To be clear, I mean useful data