https://sourceware.org/bugzilla/show_bug.cgi?id=28903
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #16 from H.J. Lu <hjl.tools at gmail dot com> ---
$ ld -b elf64-x86-64 -m elf_x86_64 -Map myprog.map -L. link.res -o x
ld: warning: link.res contains output sections; did you forget -T?
has given you a clue that -T was missing. With my attached linker script, I
got
[hjl@gnu-tgl-3 pr28903]$ make
ld -b elf64-x86-64 -m elf_x86_64 -Map myprog.map -L. -T link.res -o x
./x
hello
[hjl@gnu-tgl-3 pr28903]$
--
You are receiving this mail because:
You are on the CC list for the bug.