[Bug binutils/4007] Linker failed to issue an error on bad section in segment

2007-02-23 Thread hjl at lucon dot org
--- 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

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)

2007-02-23 Thread nickc at redhat dot com
--- 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

[Bug binutils/4007] problems with linker / strip / BFD

2007-02-23 Thread etienne_lorrain at yahoo dot fr
--- 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

[Bug binutils/3535] GNU strip 2.17 corrupts Sun CC/cc binaries (ld issue?)

2007-02-23 Thread swatts at ngms dot eu dot com
--- 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

[Bug binutils/4007] problems with linker / strip / BFD

2007-02-23 Thread hjl at lucon dot org
--- 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

[Bug gas/4089] GAS allows using 64-bit regs in 32-bit mode (Intel syntax)

2007-02-23 Thread hjl at lucon dot org
-- What|Removed |Added CC||hjl at lucon dot org http://sourceware.org/bugzilla/show_bug.cgi?id=4089 --- You are receiving this mail