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


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.  There should be one for the
address 0x288 that contains the value of puts.

Reading disassembled assembler output can be confusing if you don't know
how assemblers and linkers work.  Try looking at the compiler -S output.
 Also, this does not prove a compiler problem, as this could be an
assembler bug.  That is another reason to look at the compiler -S output.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com


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