[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/5761] Segfault in make_abs().
From: |
osv at javad dot com |
Subject: |
[Bug ld/5761] Segfault in make_abs(). |
Date: |
15 Feb 2008 12:02:00 -0000 |
------- Additional Comments From osv at javad dot com 2008-02-15 12:01 -------
Fortunately the problem has nothing to do with object files. It's the linker
command file that does matter, so here is a simple way to reproduce the
segfault:
$ cat linker.cmd
MEMORY
{
RAM : ORIGIN = 0, LENGTH = 0x10000
ROM : ORIGIN = 0x10000, LENGTH = 0x10000
}
SECTIONS
{
.data : AT(__data_image) {
*(.data*)
} > RAM
__rom_data_start = LOADADDR(.data);
.data_image (NOLOAD): {
__data_image = .;
. += SIZEOF(.data);
} > RAM
}
$ echo -n "" | ~/try/bin/sparc-elf-as -o test.o && \
> ~/try/bin/sparc-elf-ld -v -T linker.cmd test.o
GNU ld (GNU Binutils) 2.18.50.20080213
Segmentation fault (core dumped)
$
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5761
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/5761] New: Segfault in make_abs()., osv at javad dot com, 2008/02/13
- [Bug ld/5761] Segfault in make_abs()., nickc at redhat dot com, 2008/02/14
- [Bug ld/5761] Segfault in make_abs()., nickc at redhat dot com, 2008/02/14
- [Bug ld/5761] Segfault in make_abs()., osv at javad dot com, 2008/02/14
- [Bug ld/5761] Segfault in make_abs()., osv at javad dot com, 2008/02/14
- [Bug ld/5761] Segfault in make_abs().,
osv at javad dot com <=
- [Bug ld/5761] Segfault in make_abs()., amodra at bigpond dot net dot au, 2008/02/15
- [Bug ld/5761] Segfault in make_abs()., amodra at bigpond dot net dot au, 2008/02/15
- [Bug ld/5761] Segfault in make_abs()., amodra at bigpond dot net dot au, 2008/02/15