--- Additional Comments From hjl at lucon dot org 2007-02-23 13:09 ---
Linker should issue an error when a section is placed into a segment
improperly:
[EMAIL PROTECTED] objcopy-2]$ cat foo.t
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
PHDRS {
text PT_LOAD
--- Additional Comments From nickc at redhat dot com 2007-02-23 11:49
---
Hi Guys,
Further testing has not shown up any problems with the patch, even when custom
linker scripts that define program headers are used. So therefore I have
applied the patch to the mainline sources along w
--- Additional Comments From etienne_lorrain at yahoo dot fr 2007-02-23
11:19 ---
I have already put .realmode in a separate segment, that was not the problem.
I just would have liked a linker warning/error in this case, instead of
droping silently the section, and having an "unsupport
--- Additional Comments From swatts at ngms dot eu dot com 2007-02-23
10:11 ---
'c-cc5-gnustrip.patched.mainline' runs ok.
'elf.c.patch' applied to BINUTILS 2.17; new 'strip' applied to 'c-cc5' produces
identical file to 'c-cc5-gnustrip.patched.mainline'.
Size of stripped binaries are
--- Additional Comments From hjl at lucon dot org 2007-02-23 09:48 ---
The problem is the linker script:
.realmode 0 : AT (ADDR(.bss) + SIZEOF(.bss) - 0xC000) {
...
} :text = 0x9090
You put .realmode in the text segment. But its address doesn't belong to
the text segment. I sugge
--
What|Removed |Added
CC||hjl at lucon dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=4089
--- You are receiving this mail