------- Additional Comments From hjl dot tools at gmail dot com  2010-07-14 
01:01 -------
A smaller testcase:

[...@gnu-6 pr11817]$ cat foo.c 
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
typedef long int int64_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;

extern void bar (void);

void
foo ()
{
  bar ();
}
[...@gnu-6 pr11817]$ make
gcc -g -O2   -c -o foo.o foo.c
./ld -e foo --noinhibit-exec -o foo  foo.o
foo.o: In function `foo':
/export/home/hjl/bugs/binutils/pr11817/foo.c:13: undefined reference to `bar'
make: *** [foo] Segmentation fault
make: *** Deleting file `foo'
[...@gnu-6 pr11817]$ 

on Fedroa 13.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11817

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

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

Reply via email to