[Bug binutils/32463] linker script variables always go to ABS section

2024-12-20 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 --- Comment #7 from Stas Sergeev --- (In reply to Nick Clifton from comment #6) > Oh well, I will look into it next year ... :-} Omg. :) Happy New year! This problem is not fatal for me, it just popped up as a result of a routine testing (as

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-20 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 Nick Clifton changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at sou

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-19 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 --- Comment #5 from Stas Sergeev --- (In reply to Nick Clifton from comment #1) > If you change the kernel.ld script to look like this: > > SECTIONS > { > TTT = .; > #SHOULD_FAIL = . + .; > . = SIZEOF_HEADERS; > . = ALIGN(

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-19 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 --- Comment #4 from Stas Sergeev --- (In reply to Nick Clifton from comment #3) > I think that this is probably a case where it would be very unwise to change > the behaviour of the linker - since there are bound to be scripts that > depend u

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 --- Comment #3 from Nick Clifton --- (In reply to Stas Sergeev from comment #2) > I probably forgot to mention the > most important thing. If you change: > > TTT = .; > _LGROUP = TTT; > > into: > _LGROUP = .; > > then suddenly bfg linker gi

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-19 Thread stsp at users dot sourceforge.net
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 --- Comment #2 from Stas Sergeev --- Hi Nick. I probably forgot to mention the most important thing. If you change: TTT = .; _LGROUP = TTT; into: _LGROUP = .; then suddenly bfg linker gives: R _LGROUP ... same as lld. So the bug

[Bug binutils/32463] linker script variables always go to ABS section

2024-12-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32463 Nick Clifton changed: What|Removed |Added CC||nickc at redhat dot com --- Comment #1