On 04.06.2012 05:57, Ian Lance Taylor wrote:
> "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
"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
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
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
>> _star
"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
> _start:
Thanks for the report. For gold the -Ttext option s
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
_start:
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
__