]> granicus.if.org Git - sudo/commitdiff
Adjust ld map file support to use an anonymous scope to match the
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Jun 2012 17:23:37 +0000 (13:23 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 19 Jun 2012 17:23:37 +0000 (13:23 -0400)
updated .map files.

configure
configure.in

index 3335866f87362138cc16a26c9198e76d7513ba83..b98b3410f5c50257dec72cad106d6ae26dba99f2 100755 (executable)
--- a/configure
+++ b/configure
 if test -n "$LT_LDEXPORTS"; then
     if test "$lt_cv_prog_gnu_ld" = "yes"; then
        cat > conftest.map <<-EOF
-       VERS_1.0 {
+       {
            global: foo;
            local:  *;
        };
        EOF
-       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports map files" >&5
-$as_echo_n "checking whether ld supports map files... " >&6; }
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous map files" >&5
+$as_echo_n "checking whether ld supports anonymous map files... " >&6; }
        _LDFLAGS="$LDFLAGS"
        LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -20264,13 +20264,13 @@ rm -f core conftest.err conftest.$ac_objext \
        case "$host" in
            *-*-solaris2*)
                cat > conftest.map <<-EOF
-               VERS_1.0 {
+               {
                    global: foo;
                    local:  *;
                };
                EOF
-               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports map files" >&5
-$as_echo_n "checking whether ld supports map files... " >&6; }
+               { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports anonymous map files" >&5
+$as_echo_n "checking whether ld supports anonymous map files... " >&6; }
                _LDFLAGS="$LDFLAGS"
                LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
index 6ea479f6a73f24ceed0dc779ecb5d5997ce75fd4..52d2bf57403958894b5a6acc234bc1e7bb3d8370 100644 (file)
@@ -3207,12 +3207,12 @@ dnl
 if test -n "$LT_LDEXPORTS"; then
     if test "$lt_cv_prog_gnu_ld" = "yes"; then
        cat > conftest.map <<-EOF
-       VERS_1.0 {
+       {
            global: foo;
            local:  *;
        };
        EOF
-       AC_MSG_CHECKING([whether ld supports map files])
+       AC_MSG_CHECKING([whether ld supports anonymous map files])
        _LDFLAGS="$LDFLAGS"
        LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
        AC_TRY_LINK([int foo;], [], [
@@ -3223,12 +3223,12 @@ if test -n "$LT_LDEXPORTS"; then
        case "$host" in
            *-*-solaris2*)
                cat > conftest.map <<-EOF
-               VERS_1.0 {
+               {
                    global: foo;
                    local:  *;
                };
                EOF
-               AC_MSG_CHECKING([whether ld supports map files])
+               AC_MSG_CHECKING([whether ld supports anonymous map files])
                _LDFLAGS="$LDFLAGS"
                LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
                AC_TRY_LINK([int foo;], [], [