https://sourceware.org/bugzilla/show_bug.cgi?id=29086

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-tgl-3 pr29086]$ cat foo.S
        .text
foo:
        .nops 1

        .data
        .dc.a __real_foo
[hjl@gnu-tgl-3 pr29086]$ gcc -c foo.S
[hjl@gnu-tgl-3 pr29086]$ ld --wrap=foo foo.o
ld: warning: cannot find entry symbol _start; defaulting to 0000000000401000
ld: foo.o:(.data+0x0): undefined reference to `foo'
[hjl@gnu-tgl-3 pr29086]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to