This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC-3.4.0 on FRV architecture BUG report
- From: Jim Wilson <wilson at specifixinc dot com>
- To: zhanrk <zhanrk-gcc at 163 dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 16 May 2004 21:39:30 -0700
- Subject: Re: GCC-3.4.0 on FRV architecture BUG report
- References: <40A816F0.00001A.08914@m246.163.com>
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