[Fwd: Re: can't handle reloc type 0x6]
Marc Leeman
marc.leeman at gmail.com
Mon Dec 5 17:31:46 UTC 2005
> > ./ceil0: symbol '': can't handle reloc type 'R_PPC_ADDR16_HA' in lib
> > '/lib/libm.so.0'
>
> Does this happen to non libm apps as well?
no, all the apps without -lm run fine (busybox and other apps).
> Do a LD_DEBUG=all ./ceil0
$ LD_DEBUG=all ./ceil0ELFx30000000ELFx30016398ELFELFELFne relocating
ldso; we can now use globals and make function calls!
_dl_get_ready_to_run:152: Cool, ldso survived making function calls
_dl_malloc:856: mmapping more memory
_dl_get_ready_to_run:318: Lib Loader: (0x30000000) /lib/ld-uClibc.so.0
_dl_get_ready_to_run:266: calling mprotect on the application program
_dl_get_ready_to_run:565: file='libm.so.0'; needed by './ceil0'
_dl_load_shared_library:209: find library='libm.so.0'; searching
_dl_load_shared_library:270: searching cache='/etc/ld.so.cache'
_dl_load_shared_library:285: searching ldso dir='/lib'
_dl_load_elf_shared_library:615:
file='/lib/libm.so.0'; generating link map
_dl_load_elf_shared_library:616: dynamic: 0x30040034
base: 0x30017000
_dl_load_elf_shared_library:618: entry: 0x3001a9dc
phdr: 0x30017034 phnum: 0x6
_dl_get_ready_to_run:587: Loading: (0x30017000) /lib/libm.so.0
_dl_get_ready_to_run:565: file='libgcc_s.so.1'; needed by
'./ceil0'
_dl_load_shared_library:209: find library='libgcc_s.so.1'; searching
_dl_load_shared_library:270: searching cache='/etc/ld.so.cache'
_dl_load_shared_library:285: searching ldso dir='/lib'
_dl_load_elf_shared_library:615:
file='/lib/libgcc_s.so.1'; generating link map
_dl_load_elf_shared_library:616: dynamic: 0x3005f284
base: 0x30041000
_dl_load_elf_shared_library:618: entry: 0x30042cb4
phdr: 0x30041034 phnum: 0x5
_dl_get_ready_to_run:587: Loading: (0x30041000) /lib/libgcc_s.so.1
_dl_get_ready_to_run:565: file='libc.so.0'; needed by './ceil0'
_dl_load_shared_library:209: find library='libc.so.0'; searching
_dl_load_shared_library:270: searching cache='/etc/ld.so.cache'
_dl_load_shared_library:285: searching ldso dir='/lib'
_dl_load_elf_shared_library:615:
file='/lib/libc.so.0'; generating link map
_dl_load_elf_shared_library:616: dynamic: 0x30106154
base: 0x30060000
_dl_load_elf_shared_library:618: entry: 0x3006e514
phdr: 0x30060034 phnum: 0x6
_dl_get_ready_to_run:587: Loading: (0x30060000) /lib/libc.so.0
_dl_get_ready_to_run:565: file='libc.so.0'; needed by './ceil0'
_dl_load_shared_library:209: find library='libc.so.0'; searching
_dl_load_shared_library:270: searching cache='/etc/ld.so.cache'
_dl_load_shared_library:285: searching ldso dir='/lib'
_dl_get_ready_to_run:587: Loading: (0x30060000) /lib/libc.so.0
_dl_get_ready_to_run:565: file='libc.so.0'; needed by './ceil0'
_dl_load_shared_library:209: find library='libc.so.0'; searching
_dl_load_shared_library:270: searching cache='/etc/ld.so.cache'
_dl_load_shared_library:285: searching ldso dir='/lib'
_dl_get_ready_to_run:587: Loading: (0x30060000) /lib/libc.so.0
INIT/FINI order and dependencies:
lib: /lib/libm.so.0 has deps:
/lib/libc.so.0
lib: /lib/libgcc_s.so.1 has deps:
/lib/libc.so.0
lib: /lib/libc.so.0 has deps:
_dl_get_ready_to_run:710: Beginning relocation fixups
_dl_fixup:640: relocation processing: /lib/libc.so.0
xdr_accepted_reply
value=0x67374 size=0x13c info=0x12 other=0x0
shndx=0x6
R_PPC_ADDR32 offset=0xa6134 addend=0x0
patched: 0x0 ==> 0x300c7374 @ 0x30106134
xdr_rejected_reply
value=0x674b0 size=0x100 info=0x12 other=0x0
shndx=0x6
R_PPC_ADDR32 offset=0xa613c addend=0x0
patched: 0x0 ==> 0x300c74b0 @ 0x3010613c
_svcauth_unix
value=0x69484 size=0x37c info=0x12 other=0x0
shndx=0x6
R_PPC_ADDR32 offset=0xa614c addend=0x0
patched: 0x0 ==> 0x300c9484 @ 0x3010614c
_svcauth_short
value=0x69800 size=0x2c info=0x12 other=0x0
shndx=0x6
R_PPC_ADDR32 offset=0xa6150 addend=0x0
patched: 0x0 ==> 0x300c9800 @ 0x30106150
__glob_readdir_hook
value=0xa7284 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa708c addend=0x0
patched: 0x0 ==> 0x30107284 @ 0x3010708c
__libc_internal_tsd_set
value=0xa72ac size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa7090 addend=0x0
patched: 0x0 ==> 0x301072ac @ 0x30107090
stdout
value=0xa723c size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa7094 addend=0x0
patched: 0x0 ==> 0x10010a0c @ 0x30107094
daylight
value=0xa72c0 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa7098 addend=0x0
patched: 0x0 ==> 0x301072c0 @ 0x30107098
__pthread_once
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_GLOB_DAT offset=0xa709c addend=0x0
patched: 0x0 ==> 0x0 @ 0x3010709c
_time_tzlock
value=0xa6224 size=0x18 info=0x11 other=0x0
shndx=0xd
R_PPC_GLOB_DAT offset=0xa70a0 addend=0x0
patched: 0x0 ==> 0x30106224 @ 0x301070a0
__rcmd_errstr
value=0xa732c size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70a4 addend=0x0
patched: 0x0 ==> 0x3010732c @ 0x301070a4
_net_stayopen
value=0xa735c size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70a8 addend=0x0
patched: 0x0 ==> 0x3010735c @ 0x301070a8
__exit_function_table
value=0xa73a8 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70ac addend=0x0
patched: 0x0 ==> 0x301073a8 @ 0x301070ac
__glob_closedir_hook
value=0xa7288 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70b0 addend=0x0
patched: 0x0 ==> 0x30107288 @ 0x301070b0
re_syntax_options
value=0xa72b4 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70b4 addend=0x0
patched: 0x0 ==> 0x301072b4 @ 0x301070b4
__ctype_b
value=0xa7214 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa70b8 addend=0x0
patched: 0x0 ==> 0x30107214 @ 0x301070b8
errno
value=0xa72a0 size=0x4 info=0x21 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70bc addend=0x0
patched: 0x0 ==> 0x301072a0 @ 0x301070bc
__exit_handler
value=0x8c54c size=0x130 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa70c0 addend=0x0
patched: 0x0 ==> 0x300ec54c @ 0x301070c0
_ptyname2
value=0x9552c size=0x11 info=0x11 other=0x0
shndx=0x7
R_PPC_GLOB_DAT offset=0xa70c8 addend=0x0
patched: 0x0 ==> 0x300f552c @ 0x301070c8
optarg
value=0xa73c0 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70d0 addend=0x0
patched: 0x0 ==> 0x301073c0 @ 0x301070d0
__C_ctype_tolower
value=0xa7218 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa70d4 addend=0x0
patched: 0x0 ==> 0x30107218 @ 0x301070d4
opterr
value=0xa7260 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa70dc addend=0x0
patched: 0x0 ==> 0x30107260 @ 0x301070dc
error_message_count
value=0xa727c size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa70e0 addend=0x0
patched: 0x0 ==> 0x3010727c @ 0x301070e0
xdr_void
value=0x6c030 size=0x24 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa70e4 addend=0x0
patched: 0x0 ==> 0x300cc030 @ 0x301070e4
__ctype_toupper
value=0xa7224 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa70e8 addend=0x0
patched: 0x0 ==> 0x30107224 @ 0x301070e8
xdr_pmap
value=0x663a4 size=0xc0 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa70ec addend=0x0
C_GLOB_DAT offset=0xa715c addend=0x0
patched: 0x0 ==> 0x3010728c @ 0x3010715c
__exit_count
value=0xa73a4 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa7160 addend=0x0
patched: 0x0 ==> 0x301073a4 @ 0x30107160
xdr_u_long
value=0x6c1bc size=0xfc info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa7164 addend=0x0
patched: 0x0 ==> 0x300cc1bc @ 0x30107164
__C_ctype_toupper
value=0xa7220 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa7168 addend=0x0
patched: 0x0 ==> 0x30107220 @ 0x30107168
ahostbuf
value=0xac2b8 size=0x401 info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa716c addend=0x0
patched: 0x0 ==> 0x3010c2b8 @ 0x3010716c
mylock
value=0xa6610 size=0x18 info=0x11 other=0x0
shndx=0xd
R_PPC_GLOB_DAT offset=0xa7170 addend=0x0
patched: 0x0 ==> 0x30106610 @ 0x30107170
__malloc_lock
value=0xa652c size=0x18 info=0x11 other=0x0
shndx=0xd
R_PPC_GLOB_DAT offset=0xa7174 addend=0x0
patched: 0x0 ==> 0x3010652c @ 0x30107174
xdr_u_int
value=0x6c0a0 size=0x4c info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa7180 addend=0x0
patched: 0x0 ==> 0x300cc0a0 @ 0x30107180
xdr_pmaplist
value=0x66464 size=0x150 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa7184 addend=0x0
patched: 0x0 ==> 0x300c6464 @ 0x30107184
__check_rhosts_file
value=0xa7258 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa718c addend=0x0
patched: 0x0 ==> 0x30107258 @ 0x3010718c
__nameserver
value=0xac6cc size=0xc info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa7190 addend=0x0
patched: 0x0 ==> 0x3010c6cc @ 0x30107190
obstack_alloc_failed_handler
value=0xa7228 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa7194 addend=0x0
patched: 0x0 ==> 0x30107228 @ 0x30107194
__h_errno_location
info=0x22 other=0x0 shndx=0x6
R_PPC_GLOB_DAT offset=0xa719c addend=0x0
patched: 0x0 ==> 0x30083004 @ 0x3010719c
_ptyname1
value=0x95518 size=0x11 info=0x11 other=0x0
shndx=0x7
R_PPC_GLOB_DAT offset=0xa71a0 addend=0x0
patched: 0x0 ==> 0x300f5518 @ 0x301071a0
_stdio_term
value=0x4ce28 size=0x184 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa71a4 addend=0x0
patched: 0x0 ==> 0x300ace28 @ 0x301071a4
stderr
value=0xa7240 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa71a8 addend=0x0
patched: 0x0 ==> 0x30107240 @ 0x301071a8
__in6addr_loopback
value=0x95154 size=0x10 info=0x11 other=0x0
shndx=0x7
R_PPC_GLOB_DAT offset=0xa71b0 addend=0x0
patched: 0x0 ==> 0x300f5154 @ 0x301071b0
optopt
value=0xa7264 size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa71b4 addend=0x0
patched: 0x0 ==> 0x30107264 @ 0x301071b4
__time_tm
value=0xac1a0 size=0x2c info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa71b8 addend=0x0
patched: 0x0 ==> 0x3010c1a0 @ 0x301071b8
__exit_slots
value=0xa73ac size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71bc addend=0x0
patched: 0x0 ==> 0x301073ac @ 0x301071bc
__nameservers
value=0xa736c size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71c0 addend=0x0
patched: 0x0 ==> 0x3010736c @ 0x301071c0
__pagesize
value=0xa73dc size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71c4 addend=0x0
patched: 0x0 ==> 0x301073dc @ 0x301071c4
__searchdomains
value=0xa7370 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71c8 addend=0x0
patched: 0x0 ==> 0x30107370 @ 0x301071c8
svc_fdset
value=0xac21c size=0x80 xa71cc addend=0x0
patched: 0x0 ==> 0x3010c21c @ 0x301071cc
__curbrk
value=0xa7268 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71d8 addend=0x0
patched: 0x0 ==> 0x30107268 @ 0x301071d8
__errno_location
value=0x22fc8 size=0x3c info=0x22 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa71dc addend=0x0
patched: 0x0 ==> 0x30082fc8 @ 0x301071dc
_stdio_init
value=0x4cfac size=0xd4 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa71e0 addend=0x0
patched: 0x0 ==> 0x300acfac @ 0x301071e0
_null_auth
value=0xac29c size=0xc info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa71e4 addend=0x0
patched: 0x0 ==> 0x3010c29c @ 0x301071e4
_stdio_openlist_lock
value=0xa6260 size=0x18 info=0x11 other=0x0
shndx=0xd
R_PPC_GLOB_DAT offset=0xa71e8 addend=0x0
patched: 0x0 ==> 0x30106260 @ 0x301071e8
error_one_per_line
value=0xa7280 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71f0 addend=0x0
patched: 0x0 ==> 0x30107280 @ 0x301071f0
_custom_printf_handler
value=0xac1f4 size=0x28 info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa71f4 addend=0x0
patched: 0x0 ==> 0x3010c1f4 @ 0x301071f4
svc_max_pollfd
value=0xa731c size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa71f8 addend=0x0
patched: 0x0 ==> 0x3010731c @ 0x301071f8
rpc_createerr
value=0xac2a8 size=0x10 info=0x11 other=0x0
shndx=0x12
R_PPC_GLOB_DAT offset=0xa71fc addend=0x0
patched: 0x0 ==> 0x3010c2a8 @ 0x301071fc
svc_pollfd
value=0xa7320 size=0x4 info=0x11 other=0x0
shndx=0x10
R_PPC_GLOB_DAT offset=0xa7200 addend=0x0
patched: 0x0 ==> 0x30107320 @ 0x30107200
__ctype_tolower
value=0xa721c size=0x4 info=0x11 other=0x0
shndx=0xf
R_PPC_GLOB_DAT offset=0xa7204 addend=0x0
patched: 0x0 ==> 0x3010721c @ 0x30107204
free
value=0x85 other=0x0 shndx=0x6
R_PPC_GLOB_DAT offset=0xa7208 addend=0x0
patched: 0x0 ==> 0x300e5204 @ 0x30107208
xdr_u_short
value=0x6c820 size=0x114 info=0x12 other=0x0
shndx=0x6
R_PPC_GLOB_DAT offset=0xa720c addend=0x0
patched: 0x0 ==> 0x300cc820 @ 0x3010720c
__C_ctype_b_data
value=0x913bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa7210 addend=0x100
patched: 0x0 ==> 0x300f14bc @ 0x30107210
__C_ctype_b_data
value=0x913bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa7214 addend=0x100
patched: 0x0 ==> 0x300f14bc @ 0x30107214
__C_ctype_tolower_data
value=0x916bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa7218 addend=0x100
patched: 0x0 ==> 0x300f17bc @ 0x30107218
__C_ctype_tolower_data
value=0x916bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa721c addend=0x100
patched: 0x0 ==> 0x300f17bc @ 0x3010721c
__C_ctype_toupper_data
value=0x919bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa7220 addend=0x100
patched: 0x0 ==> 0x300f1abc @ 0x30107220
__C_ctype_toupper_data
value=0x919bc size=0x300 info=0x11 other=0x0
shndx=0x7
R_PPC_ADDR32 offset=0xa7224 addend=0x100
patched: 0x0 ==> 0x300f1abc @ 0x30107224_dl_fixup:640:
relocation processing: /lib/libgcc_s.so.1
pthread_cancel
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e140 addend=0x0
patched: 0x0 ==> 0x0 @ 0x3005f140
pthread_cancel
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e144 addend=0x0
patched: 0x0 ==> 0x0 @ 0x3005f144
pthread_cancel
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e244 addend=0x0
patched: 0x0 ==> 0x0 @ 0x3005f244
pthread_cancel
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e264 addend=0x0
patched: 0x0 ==> 0x0 @ 0x3005f264
__cxa_finalize
value=0x0 size=0xb0 info=0x22 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e14c addend=0x0
patched: 0x0 ==> 0x300ec2f8 @ 0x3005f14c
__deregister_frame_info
value=0xcab0 size=0x20 info=0x12 other=0x0
shndx=0x9
R_PPC_ADDR32 offset=0x1e158 addend=0x0
patched: 0x0 ==> 0x3004dab0 @ 0x3005f158
__register_frame_info
value=0xc78c size=0x28 info=0x12 other=0x0
shndx=0x9
R_PPC_ADDR32 offset=0x1e160 addend=0x0
patched: 0x0 ==> 0x3004d78c @ 0x3005f160
_Jv_RegisterClasses
value=0x0 size=0x0 info=0x20 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e16c addend=0x0
patched: 0x0 ==> 0x0 @ 0x3005f16c
__libc_stack_end
value=0x0 size=0x0 info=0x10 other=0x0
shndx=0x0
R_PPC_ADDR32 offset=0x1e238 addend=0x0
patched: 0x0 ==> 0x30016784 @ 0x3005f238_dl_fixup:640:
relocation processing: /lib/libm.so.0
value=0x16ce0 size=0x0 info=0x3 other=0x0
shndx=0x7
R_PPC_ADDR16_HA offset=0x3a06 addend=0x16ce8
./ceil0: symbol '': can't handle reloc type 'R_PPC_ADDR16_HA' in lib
'/lib/libm.so.0'
--
greetz, marc
Oh wonderful, they're alive. Now you can torture them with your inane
dribblings.
Rygel - Green-Eyed Monster
scorpius.homelinux.org 2.6.13.2 #1 Fri Sep 23 07:23:21 CEST 2005 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20051205/50386820/attachment-0002.pgp
More information about the uClibc
mailing list