Re: gold mistreats -Wl,-Ttext,0x8200

2012-06-03 Thread Ian Lance Taylor
"Vladimir 'φ-coder/phcoder' Serbinenko" writes: > On 10.03.2012 19:19, Ian Lance Taylor wrote: > >> "Vladimir 'φ-coder/phcoder' Serbinenko" writes: >> >>> Namely the minimal testcase is: >>> gcc -o 1.img -ffreestanding -Wl,-Ttext,0x8200 1.S -nostdlib -m32 >>> The resulting file has .text at 920

Re: gold mistreats -Wl,-Ttext,0x8200

2012-06-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 10.03.2012 19:19, Ian Lance Taylor wrote: > "Vladimir 'φ-coder/phcoder' Serbinenko" writes: > >> Namely the minimal testcase is: >> gcc -o 1.img -ffreestanding -Wl,-Ttext,0x8200 1.S -nostdlib -m32 >> The resulting file has .text at 9200 and not 8200 >> 1.S: >> .text >> >> .globl _start >> _st