[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/5785] New: Spurious "section xxx overlaps section yyy"
From: |
osv at javad dot com |
Subject: |
[Bug ld/5785] New: Spurious "section xxx overlaps section yyy" |
Date: |
21 Feb 2008 18:15:46 -0000 |
LD version 2.18.x produces bogus "section .xxx overlaps section .bss", while LD
version 2.16.1 works just fine. Here is cut-down test to reproduce the problem:
$ echo -n | ~/try/bin/sparc-elf-as -o test.o
$ ~/try/bin/sparc-elf-ld -v -o test -T test.lnk test.o
GNU ld (GNU Binutils) 2.18.50.20080218
/home/osv/try/bin/sparc-elf-ld: section .xxx [00000110 -> 0000011f] overlaps
section .bss [00000110 -> 0000022f]
$ cat test.lnk
MEMORY
{
ROM : ORIGIN = 0, LENGTH = 0x1000
RAM : ORIGIN = 0x4000, LENGTH = 0x1000
}
SECTIONS
{
.data : AT(__data_image) {
. += 0x110;
} > RAM
.bss : {
. += 0x120;
} > RAM
.data_image (NOLOAD): {
__data_image = .;
. += SIZEOF(.data);
} > ROM
.xxx : {
. += 0x10;
} > ROM
.text : { *(.text) } > ROM
}
$
--
Summary: Spurious "section xxx overlaps section yyy"
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: osv at javad dot com
CC: bug-binutils at gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sparc-unknown-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=5785
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/5785] New: Spurious "section xxx overlaps section yyy",
osv at javad dot com <=