]> gcc.gnu.org Git - gcc.git/blobdiff - libio/configure.in
configure.in: Create compatibility code in bits/libc-lock.h file.
[gcc.git] / libio / configure.in
index ac94747f563dfc49dcc5a60498c0468a2b6bfae5..2fc3a962afaa14c07aa44b86fd0b1614db5183c4 100644 (file)
@@ -54,6 +54,9 @@ case "${target}" in
        rm -fr bits
         mkdir bits
         echo "#include <libc-lock.h>" > bits/libc-lock.h
+       echo 'asm (".weak _pthread_cleanup_pop_restore");' >> bits/libc-lock.h
+       echo 'asm (".weak _pthread_cleanup_push_defer");' >> bits/libc-lock.h
+
         echo "#include <stdio-lock.h>" > bits/stdio-lock.h
       }
     ;;
This page took 0.029534 seconds and 5 git commands to generate.