Function call problem
Duszczak, Richard
richd@enikia.com
Thu Jun 17 17:26:00 GMT 1999
Hi,
I just recently compiled a i686-cygwin32 cross powerpc-eabi compiler. The
compiler and all the utilities seem to work but I have a problem with the
final executable. I modified test.c in src/libgloss/rs6000 to call a
function test from main and ran make ads-test. Everything seems ok until I
look at the disassembly of ads-test.x and find that instead of calling test
it branches to the beginning of .etext0. If I add test() to ads-io.c and
rebuild libads.a the call appears fine.
It appears that the linker is having a problem with the relocation
information.
Any info would be appreciated.
Thanks,
Richard E. Duszczak
Design/Software Engineer
Enikia, Inc.
E-mail: richd@enikia.com
(732) 980-1200 x2777 (Voice)
(732) 980-0700 (Fax)
http://www.enikia.com/
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.
More information about the crossgcc
mailing list