We are currently attempting to remove the use of elftoaout from our builds for Silo and the vmlinux.aout kernel.
Our first attempt was utilizing objcopy, but we received these errors. BFD: arch/sparc64/boot/vmlinux.aout: can not represent section `.rodata' in a.out object file format objcopy: arch/sparc64/boot/vmlinux.aout: Nonrepresentable section on output objcopy: arch/sparc64/boot/vmlinux.aout: File truncated When we researched, we found out that .rodata in elftoaout is moved into .text. http://mail-index.netbsd.org/netbsd-bugs/2001/04/04/0006.html We know a solution is probably utilizing a ld.script, but need guidance in correcting this issue. PowerPC also uses openfirmware, we are looking into that as a starting point. Also related to this is silo build, which even using elftoaout fails, we have most of the fixes utilizing objcopy, but a few of the files have the .rodata issue as well. -- Summary: Sparc a.out using binutils - Product: binutils Version: 2.16 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: giffordj at linkline dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=1472 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils