Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

why all symbols start with offset zero?

4 views
Skip to first unread message

Peter

unread,
Jan 14, 2012, 3:56:45 AM1/14/12
to
hi all
why all symbols start with offset zero?



In archive /root/Downloads/newlib-install/i386-peter-elf/lib/libc_peter.a:

chown.o: file format elf32-i386

SYMBOL TABLE:
00000000 l df *ABS* 00000000 chown.c
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data
00000000 l d .bss 00000000 .bss
00000000 l d .gnu.warning._chown 00000000 .gnu.warning._chown
00000000 l O .gnu.warning._chown 0000002f __evoke_link_warning__chown
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_str 00000000 .debug_str
00000000 l d .note.GNU-stack 00000000 .note.GNU-stack
00000000 l d .eh_frame 00000000 .eh_frame
00000000 l d .comment 00000000 .comment
00000000 g F .text 00000010 _chown
00000000 *UND* 00000000 errno



close.o: file format elf32-i386

SYMBOL TABLE:
00000000 l df *ABS* 00000000 close.c
00000000 l d .text 00000000 .text
00000000 l d .data 00000000 .data
00000000 l d .bss 00000000 .bss
00000000 l d .gnu.warning.close 00000000 .gnu.warning.close
00000000 l O .gnu.warning.close 0000002f __evoke_link_warning_close
00000000 l d .debug_info 00000000 .debug_info
00000000 l d .debug_abbrev 00000000 .debug_abbrev
00000000 l d .debug_aranges 00000000 .debug_aranges
00000000 l d .debug_line 00000000 .debug_line
00000000 l d .debug_str 00000000 .debug_str
00000000 l d .note.GNU-stack 00000000 .note.GNU-stack
00000000 l d .eh_frame 00000000 .eh_frame
00000000 l d .comment 00000000 .comment
00000000 g F .text 00000010 close
00000000 *UND* 00000000 errno

thanks
from Peter (cmk...@hotmail.com)

Peter

unread,
Jan 14, 2012, 4:02:41 AM1/14/12
to
oh, because i haven't linked it yet
0 new messages