This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC-3.4.0 on FRV architecture BUG report


Jim Wilson <wilson@specifixinc.com> writes:

> zhanrk wrote:
>> /*
>>  * BUG ?!
>>  * It should be "call 00000110 <puts>"
>>  */
>>  288:	fe 3f ff 5e 	call 0 <flush_input>
>
> Not necessarily.  There is probably a relocation for this address that
> will insert the address of the puts function.  Try using "objdump -x"
> and look at the list of relocations.

Even better: "objdump -dr", this will annotate the disassembler output
with relocation information.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]