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
http://sourceware.org/bugzilla/show_bug.cgi?id=13561
--- Comment #8 from Hans-Georg Thien 2012-03-10
17:38:05 UTC ---
(In reply to comment #6)
> here comes some more information gathered by the objdump command:
>
> sandbox@rs6k> objdump -r partial.o
>
> partial.o: file format aixcof
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
__