------- Additional Comments From nickc at redhat dot com 2007-05-24 11:50 -------
Hi Quentin, > When making OMAGIC executables with ld with the swich -N, the ld script begins > with : > >> SECTIONS >> { >> . = 0x1020; It does ? The version I have locally starts with ". = 0". > It seems that giving to ld a script with . = 0x0 corrects the problem. > However, > I'm unable to find out where to change in the sources. The linker scripts are built by the genscripts.sh script in the linker source directory. They are constructed into the ldscripts/ directory in the build tree and the script for the -N switch will have the extension .xbn. The scripts are build from a template in the ld/scripttempl/ source directory, together with information from a parameters file in ld/emulparam/ source directory. For the i486-aout target these should be the ld/scripttempl/aout.sc file and the ld/emulparams/i386aout.sh. The start address should then be controlled by the value given to the TEXT_START_ADDR shell variable. Cheers Nick -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |WAITING http://sourceware.org/bugzilla/show_bug.cgi?id=4515 ------- 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