------- Additional Comments From Quentin dot Godfroy at ens dot fr 2007-08-07 18:35 ------- In binutils 2.17 sources, What I see in emulparams/i386linux.sh is :
>OUTPUT_FORMAT="a.out-i386-linux" >TARGET_PAGE_SIZE=0x1000 >TEXT_START_ADDR=0x1020 >NONPAGED_TEXT_START_ADDR=0 >... and in genscripts.sh >... >LD_FLAG=N >DATA_ALIGNMENT=${DATA_ALIGNMENT_N} >( echo "/* Script for -N: mix text and data on same page; don't align data */" > . ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME} > . ${srcdir}/scripttempl/${SCRIPT_NAME}.sc >) | sed -e '/^ *$/d;s/[ ]*$//' > ldscripts/${EMULATION_NAME}.xbn >... In the building process the section SECTION is going to start at 0x1020 for the -N flag. (I see no mention of NONPAGED_TEXT_START_ADDR in scripttempl/aout.sc) I checked, on a up to date Debian, the output from ld -N -mi386linux --verbose gives out a >SECTIONS >{ > . = 0x1020; >... -- 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