RE: [U-Boot-Users] can't resolve symbol _GLOBAL_OFFSET_TABLE_

Hi
I looked up the symbols defined in libc.so.6 using "mipsel-linux-nm". Now although _GLOBAL_OFFSET_TABLE_ is defined but it is not defined as global. Here is the output of the nm command
00000000 A GLIBC_PRIVATE 000b9370 T glob 000bab24 T glob64 00192920 a _GLOBAL_OFFSET_TABLE_ 000b89f0 T globfree 000ba290 T globfree64 000b8d28 t glob_in_dir
I don't have much idea about this, but could this be the reason for the error I am getting?
Regards
Mudeem
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Tuesday, February 15, 2005 5:41 PM To: Mudeem Iqbal Cc: 'u-boot-users@lists.sourceforge.net' Subject: Re: [U-Boot-Users] can't resolve symbol _GLOBAL_OFFSET_TABLE_
In message 1B701004057AF74FAFF851560087B1610646B8@1aurora.enabtech you wrote:
binutils-2.15.94.0.2 gcc-3.4.3 glibc-2.3.3
...
/home/mudeem/ubootPrj/u-boot-1.1.2/cpu/mips/start.S: Assembler messages: /home/mudeem/ubootPrj/u-boot-1.1.2/cpu/mips/start.S:241: Error: can't resolve `_GLOBAL_OFFSET_TABLE_' {*UND* section} - `L1 1' {.text section} make: *** [cpu/mips/start.o] Error 1
...
using binutil 2.13. Also is the problem with binutil 2.15 or with U-Boot.
We're using binutils-2.14 in the ELDK and don;t see any such problems.
Best regards,
Wolfgang Denk

In message 1B701004057AF74FAFF851560087B1610646B9@1aurora.enabtech you wrote:
I looked up the symbols defined in libc.so.6 using "mipsel-linux-nm". Now
What has libc.so.6 to do with that? U-Boot does not use libc, nor any othser standard system libraries (only it's own libraries, and compiler-provided stuff).
I don't have much idea about this, but could this be the reason for the error I am getting?
No - libc has nothing to do with that.
Best regards,
Wolfgang Denk
participants (2)
-
Mudeem Iqbal
-
Wolfgang Denk