[Bug binutils/5233] objcopy won't change section flags on zero file-size sections

2007-10-30 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2007-10-30 18:54 --- The bug was introduced by this patch http://sourceware.org/ml/binutils/2006-12/msg00165.html The linker check is correct. Otherwise, you will get a bogus binary Elf file type is EXEC (Executable file) Entry point 0x

[Bug binutils/5233] objcopy won't change section flags on zero file-size sections

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

[Bug binutils/5233] objcopy won't change section flags on zero file-size sections

2007-10-30 Thread andrew dot stubbs at st dot com
--- Additional Comments From andrew dot stubbs at st dot com 2007-10-30 15:14 --- For more detail, see here: http://sourceware.org/ml/binutils/2007-10/msg00382.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=5233 --- You are receiving this mail because: --- You are o

[Bug binutils/5233] New: objcopy won't change section flags on zero file-size sections

2007-10-30 Thread andrew dot stubbs at st dot com
I have an elf file with a section that has an allocated length, but no content in the file. In binutils 2.16.91.0.5 I used to be able to give it some contents (of whatever is the default value) by changing the flags, but in 2.17.50.0.17 I can no longer do so. My target is SH, but I have no reason