370f00c3a7
2001-06-07 David Mosberger <davidm@hpl.hp.com> * sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Update call to __ia64_make_fptr() for new interface. (_dl_function_address): Remove. * sysdeps/ia64/dl-machine.h (IA64_BOOT_FPTR_TABLE_LEN): Rename from IA64_BOOT_FPTR_SIZE and reduce its value from 256 to 200. (struct ia64_fdesc): Rename from struct ia64_fptr and drop "next" pointer. Rename member "func" to "ip". (struct ia64_fdesc_table): New type. (__ia64_make_fptr): Change prototype. (__ia64_init_bootstrap_fdesc_table): New function. (ELF_MACHINE_BEFORE_RTLD_RELOC): New macro. (__boot_ldso_fptr): Removed. (__fptr_next): Removed. (__fptr_root): Removed. (__fptr_count): Removed. (TRAMPOLINE_TEMPLATE): Fix typo in comment. Don't use multi-line strings to avoid warning from gcc3. (RTLD_START): Don't use multi-line strings. (ELF_MACHINE_START_ADDRESS): Use DL_STATIC_FUNCTION_ADDRESS. (elf_machine_fixup_plt): Update the code entry point in the function descriptor through a "volatile" pointer to ensure proper write ordering. (elf_machine_rela): Simplify handling of FPTR relocs: always call __ia64_make_fptr(). * sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): New macro. (DL_STATIC_FUNCTION_ADDRESS): Likewise. (DL_DT_INIT_ADDRESS): Use DL_AUTO_FUNCTION_ADDRESS. (DL_DT_FINI_ADDRESS): Likewise. * sysdeps/ia64/dl-fptr.c: Rewrite for better scalability and to avoid deadlocks. * include/link.h: Add member machine specific "l_mach" member to link_map. * sysdeps/generic/bits/link.h: New file. * sysdeps/ia64/bits/link.h: Likewise. * elf/rtld.c (_dl_start): Fix typo in comment. (_dl_start_final): Copy new "l_mach" member from temporary to final bootstrap map. |
||
---|---|---|
.. | ||
arpa | ||
bits | ||
gnu | ||
netinet | ||
protocols | ||
rpc | ||
rpcsvc | ||
sys | ||
aio.h | ||
aliases.h | ||
alloca.h | ||
argp.h | ||
argz.h | ||
assert.h | ||
byteswap.h | ||
complex.h | ||
ctype.h | ||
des.h | ||
dirent.h | ||
dlfcn.h | ||
elf.h | ||
endian.h | ||
envz.h | ||
err.h | ||
errno.h | ||
error.h | ||
execinfo.h | ||
fcntl.h | ||
features.h | ||
fenv.h | ||
fnmatch.h | ||
fpu_control.h | ||
ftw.h | ||
gconv.h | ||
getopt.h | ||
glob.h | ||
gmp.h | ||
gnu-versions.h | ||
grp.h | ||
iconv.h | ||
langinfo.h | ||
libc-internal.h | ||
libc-symbols.h | ||
libgen.h | ||
libintl.h | ||
limits.h | ||
linewrap.h | ||
link.h | ||
locale.h | ||
malloc.h | ||
math.h | ||
mcheck.h | ||
memory.h | ||
mntent.h | ||
monetary.h | ||
netdb.h | ||
netgroup.h | ||
nl_types.h | ||
nss.h | ||
nsswitch.h | ||
obstack.h | ||
poll.h | ||
printf.h | ||
pthread.h | ||
pwd.h | ||
regex.h | ||
resolv.h | ||
sched.h | ||
search.h | ||
set-hooks.h | ||
setjmp.h | ||
sgtty.h | ||
shadow.h | ||
shlib-compat.h | ||
signal.h | ||
spawn.h | ||
stab.h | ||
stdio_ext.h | ||
stdio.h | ||
stdlib.h | ||
string.h | ||
strings.h | ||
stub-tag.h | ||
syscall.h | ||
sysexits.h | ||
syslog.h | ||
tar.h | ||
termios.h | ||
tgmath.h | ||
time.h | ||
ttyent.h | ||
ucontext.h | ||
ulimit.h | ||
unistd.h | ||
utime.h | ||
utmp.h | ||
values.h | ||
wchar.h | ||
wctype.h | ||
wordexp.h | ||
xlocale.h |