https://sourceware.org/bugzilla/show_bug.cgi?id=32463
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Stas,
I disagree. The kernel.ld linker script is placing the _LGROUP symbol
outside of any section, therefore it should not be allocated to one. In fact,
in this case, I think that it is lld that is making the mistake by placing the
symbol into the .text section.
If you change the kernel.ld script to look like this:
SECTIONS
{
TTT = .;
# SHOULD_FAIL = . + .;
. = SIZEOF_HEADERS;
. = ALIGN(0x100);
.text : {
_LGROUP = TTT;
*(TEXT)
. = ALIGN(0x100);
}
}
Then both linkers behave in the same way, and I think that the result is more
intuitive.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.