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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[hjl@gnu-tools-1 pr21884]$ cat x.t
OUTPUT_FORMAT("binary")

ENTRY(_main);
SECTIONS {
        . = 0;
        .setup : { *(.setup) }
}
[hjl@gnu-tools-1 pr21884]$ cat x.s
        .text
        .globl  _main
        .type _main,%function
_main:
        .dc.a bar
[hjl@gnu-tools-1 pr21884]$ cat y.s
        .text
        .globl  bar
        .type bar,%function
bar:
        .byte 0
[hjl@gnu-tools-1 pr21884]$ make
as   -o x.o x.s
as   -o y.o y.s
./ld  -T x.t -o x x.o y.o
make: *** [Makefile:13: x] Segmentation fault (core dumped)
make: *** Deleting file 'x'
[hjl@gnu-tools-1 pr21884]$

-- 
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