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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7512|0                           |1
        is obsolete|                            |
   Attachment #7523|0                           |1
        is obsolete|                            |

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 7540
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7540&action=edit
A testcase

[hjl@gnu-6 pr16787]$ make
gcc -B./ -g   -c -o t1.o t1.c
gcc -B./ -g   -c -o t3.o t3.c
ld -r -o t13.o t1.o t3.o
gcc -B./ -g   -c -o tt.o tt.c
gcc -B./ -g   -c -o t2.o t2.c
gcc -B./  -o x t13.o tt.o t2.o
t13.o: In function `t1':
/export/home/hjl/bugs/binutils/pr16787/t1.c:2: warning: foobar
t13.o: In function `t3':
(.text+0x1a): undefined reference to `udf'
collect2: error: ld returned 1 exit status
make: *** [x] Error 1
[hjl@gnu-6 pr16787]$

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

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to