[Bug ld/6888] New: Segmentation fault for PowerPC ld and EABI + SDATA

2008-09-15 Thread sebastian dot huber at embedded-brains dot de
The linker produces a segmentation fault on undefined references in the small data area. Test program: extern int i; void f() { i = 1; } powerpc-rtems4.9-gcc -meabi -msdata -c test.c Binutils version: /tmp/binutils/bin/powerpc-rtems4.9-ld --version GNU ld (GNU Binutils) 2.19.50.200809

[Bug ld/6888] Segmentation fault for PowerPC ld and EABI + SDATA

2008-09-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-09-15 15:52 --- Please attach test.o -- What|Removed |Added Status|NEW

[Bug ld/6888] Segmentation fault for PowerPC ld and EABI + SDATA

2008-09-15 Thread sebastian dot huber at embedded-brains dot de
--- Additional Comments From sebastian dot huber at embedded-brains dot de 2008-09-15 16:00 --- Created an attachment (id=2954) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2954&action=view) Evil object file. Object file attached. -- http://sourceware.org/bugzilla/show_bug

[Bug ld/6888] Segmentation fault for PowerPC ld and EABI + SDATA

2008-09-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-09-15 23:48 --- http://sourceware.org/ml/binutils-cvs/2008-09/msg00075.html -- What|Removed |Added

[Bug ld/6844] Segmentation Fault using cross architecture ld command

2008-09-15 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-09-16 04:35 --- You cannot define _GLOBAL_OFFSET_TABLE_ like this in a script. -- What|Removed |Added