X-Git-Url: https://perl5.git.perl.org/metaconfig.git/blobdiff_plain/9f542ee737aa358575a87010429bf001ccc2b387..57c0dc7215b759c6e8a18e4b832a4640e4560e68:/U/modified/libc.U diff --git a/U/modified/libc.U b/U/modified/libc.U index 411de1f..b67a30d 100644 --- a/U/modified/libc.U +++ b/U/modified/libc.U @@ -62,6 +62,7 @@ ?S:. ?T:thislib try libnames xxx xscan xrun thisname com tans file ?F:!libnames +?LINT:extern PASE ?LINT:extern libnames ?LINT:change libnames ?LINT:change nm_opt @@ -384,12 +385,19 @@ else fi fi nm_extract="$com" -if $test -f /lib/syscalls.exp; then +case "$PASE" in +define) + echo " " + echo "Since you are compiling for PASE, extracting more symbols from libc.a ...">&4 + dump -Tv /lib/libc.a | awk '$7 == "/unix" {print $5 " " $8}' | grep "^SV" | awk '{print $2}' >> libc.list + ;; +*) if $test -f /lib/syscalls.exp; then echo " " echo "Also extracting names from /lib/syscalls.exp for good ole AIX..." >&4 $sed -n 's/^\([^ ]*\)[ ]*syscall[0-9]*[ ]*$/\1/p' /lib/syscalls.exp >>libc.list -fi -?X: remember, indentation is wrong on purpose--RAM + fi + ;; +esac ;; esac $rm -f libnames libpath