https://sourceware.org/bugzilla/show_bug.cgi?id=32463
Bug ID: 32463
Summary: linker script variables always go to ABS section
Product: binutils
Version: 2.43.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: stsp at users dot sourceforge.net
Target Milestone: ---
Created attachment 15842
--> https://sourceware.org/bugzilla/attachment.cgi?id=15842&action=edit
test-case
Attached is the test-case that shows
the problem. It links the same source
with ld.bfd and ld.lld, and shows the
difference:
$ ./test.sh
bfd:
00000000 A _LGROUP
lld:
00000000 R _LGROUP
As can be seen, bfd linker puts this
symbol to ABS section, for the reasons
completely unknown to me. I think lld
does the right thing here.
--
You are receiving this mail because:
You are on the CC list for the bug.