Linking problem with Internal function calls in a file
Manmathan Muthukumarapillai
mannan@mjolner.dk
Thu Jul 3 07:23:00 GMT 1997
Hello Everybody,
Is it true that "ld" cannot link files correctly, if the files
have INTERNAL FUNCTION CALLS:
(ONLY the relocation of Internal Calls fails, the external calls
works fine)
I did a: "objdump --reloc --disassemble tstenv.obj" and got this
information:
....
00000063 <G1BETAENV>:
63: 52 pushl %edx
64: 89 fa movl %edi,%edx
66: 8d 7a 10 leal 0x10(%edx),%edi
69: 89 57 08 movl %edx,0x8(%edi)
6c: e8 00 00 00 00 call 71 <G1BETAENV+e>
6d: DISP32 G10BETAENV+0xfffffd25
71: 89 d7 movl %edx,%edi
73: 5a popl %edx
74: c3 ret
....
I do not undestand the "+0xfffffd25", which should't be there.
The object file "tstenv.obj" is created by my own compiler.
Waiting for your help
Manmathan Muthukumarapillai / Mjolner Informatics
mannan@mjolner.dk
---
* BETA information Sources *
* *
* Mjolner Informatic | Phone: +45 8620 2000 *
* Science Park Aarhus | Direct: +45 8620 2011 local 2570 *
* Gustav Wieds Vej 10 | Fax: +45 8620 1222 *
* DK-8000, Aarhus C, Denmark | E-mail: info@mjolner.com *
* WWW: http://www.mjolner.com -and- http://www.daimi.aau.dk/~beta *
* FAQ: http://www.daimi.aau.dk/~beta/FAQ *
* News: comp.lang.beta *
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list