https://sourceware.org/bugzilla/show_bug.cgi?id=20258
--- Comment #2 from Ian Wienand ---
p.s. bfd doesn't say anything, and just puts the relocation in. However the
dynamic linker then does warn you when you run that it has overflowed.
--
You are receiving this mail because:
You are on the CC
https://sourceware.org/bugzilla/show_bug.cgi?id=20258
--- Comment #1 from Ian Wienand ---
Created attachment 9335
--> https://sourceware.org/bugzilla/attachment.cgi?id=9335&action=edit
Suggest patch for detecting nocopyreloc
--
You are receiving this mail because:
You are on the CC list for t
: gold
Assignee: ccoutant at gmail dot com
Reporter: ian at wienand dot org
CC: ian at airs dot com
Target Milestone: ---
---
$ cat test.c
extern int foo;
int main(int argc, char *argv[]) {
foo = 1;
}
$ cat lib.c
int foo;
$ gcc -shared -o libfoo.so lib.c
--- Additional Comments From ian at wienand dot org 2009-07-22 21:03
---
I can confirm applying this patch creates a booting kernel. I've put the
kernel at
http://www.wienand.org/files/ld-10429/vmlinux.hj.bz2
in-case you wish to inspect it
--
http://sourceware.org/bug
--- Additional Comments From ian at wienand dot org 2009-07-22 19:06
---
I can confirm backing out the change mentioned from a top-of-tree CVS build gets
the kernel booting again.
I have put broken and working kernels at
http://www.wienand.org/files/ld-10429/
--
http
--
What|Removed |Added
CC||ian at wienand dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10429
--- You are receiving this