summaryrefslogtreecommitdiffstats
path: root/sys/arm/s3c2xx0
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2011-01-28 23:44:57 +0000
committerkan <kan@FreeBSD.org>2011-01-28 23:44:57 +0000
commita04fb1123846893d0e0b2c6080c27a4cb3659105 (patch)
treedacaa454a492a6ce3e01211b277f72e0c7f98743 /sys/arm/s3c2xx0
parentf21f4925102ebdfd428aba8a1ca65c3af9af65e9 (diff)
downloadFreeBSD-src-a04fb1123846893d0e0b2c6080c27a4cb3659105.zip
FreeBSD-src-a04fb1123846893d0e0b2c6080c27a4cb3659105.tar.gz
Eliminate the use of symlook_needed function in favor of DAGS.
Place elements on DAG lists in breadth-first order. This allows us to walk pre-built list in all cases where breadth-first dependency chain enumeration is required. Fix dlsym on special handle obtained by dlopen(NULL, ...) to do what comment claims it does. Take advantage of recently added symlook_global function to iterate over main objects and global DAGs lists properly in search of a symbol. Since rtld itself provides part of the global namespace, search rtld_obj too. Remove recursion from init_dag and symlook_needed functions. Use symlook_needed for ELF filtee processing only and change lookup order used in the function to match the order used by Solaris runtime linker under same circumstances. While there, fix weak symbol handling in the loop so that we return the first weak symbol definition if no strong one was found, instead of the last one. Reviewed by: kib MFC after: 1 month
Diffstat (limited to 'sys/arm/s3c2xx0')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud