--
What|Removed |Added
Summary|ld -r leaves gaps in output |ld -r leaves gaps in output
||/ overlapping sections
http://so
--- Additional Comments From davek at gcc dot gnu dot org 2009-09-12 00:54
---
Looking at the map files is also informative:
with 20080624 binutils:
Memory Configuration
Name Origin Length Attributes
*default*0x 0xff
--
What|Removed |Added
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=10634
--- You are receiving this mail because: --
Reported at http://cygwin.com/ml/cygwin/2009-09/msg00264.html
Testcase:
$ cat segm.c
void text() { __asm__(".space 104"); }
char data[256] = "DATA";
const char rdata[16] = "RDATA";
$ gcc -c segm.c
cygwin-1.5:
$ cygcheck -f /bin/ld
binutils-20080624-2
$ ld -r -o segm-r5.o segm.o
cygw
--- Additional Comments From hjl dot tools at gmail dot com 2009-09-11
19:57 ---
A patch is posted at
http://sourceware.org/ml/binutils/2009-09/msg00339.html
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10630
--- You are receiving this mail because: ---
You are on the
h...@gnu-6 hidden-5]$ cat foo.c
void
__attribute__ ((visibility ("hidden")))
hidden ()
{
}
void (*foo) () = hidden;
[...@gnu-6 hidden-5]$ cat libfoo.map
{
global:
*;
local:
hidden;
};
[...@gnu-6 hidden-5]$ make
gcc -B./ -O -g -fPIC -c foo.c
./ld -shared -o libfoo.so --version-script libfoo.map
System:
uname -m = IP35
uname -r = 6.5
uname -s = IRIX64
uname -v = 07010238
/usr/bin/uname -p = mips
>g++ --version
g++ (GCC) 4.3.0
>file /home/users/tovrea/local/sgi6/bin/g++
/home/users/tovrea/local/sgi6/bin/g++: ELF N32 MSB mips-3 dynamic executable
(not stripped) MIPS - version 1
>ld --ve