https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209917
Bug ID: 209917
Summary: Old gas creates a symbol pointing to symtab
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: gnu
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Given
foo = 0
foo = foo + 256
the gas in freebsd produces
[ 5] .symtab SYMTAB 0000000000000000 000230 000078 18 6
5 8
...
4: 0000000000000100 0 NOTYPE LOCAL DEFAULT 5 foo
note that the symbol foo shows up in section .symtab. That causes a link error
with lld since it has no idea what to do with it.
The bug was fixed in gas in 8424d8f538ffb17bf5e61ac73137f86e47bc8952. llvm-mc
works too.
The testcase is reduced from ./sys/crypto/skein/amd64/skein_block_asm.s
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"