make/autoconf/flags-ldflags.m4
changeset 54790 b77bf7f216f4
parent 52351 0ecb4e520110
child 58665 30a5049a36bb
child 59286 a2441ac23eeb
equal deleted inserted replaced
54789:77e95181b5d6 54790:b77bf7f216f4
     1 #
     1 #
     2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4 #
     4 #
     5 # This code is free software; you can redistribute it and/or modify it
     5 # This code is free software; you can redistribute it and/or modify it
     6 # under the terms of the GNU General Public License version 2 only, as
     6 # under the terms of the GNU General Public License version 2 only, as
     7 # published by the Free Software Foundation.  Oracle designates this
     7 # published by the Free Software Foundation.  Oracle designates this
    86 
    86 
    87     BASIC_LDFLAGS_JDK_ONLY="-ztext"
    87     BASIC_LDFLAGS_JDK_ONLY="-ztext"
    88     BASIC_LDFLAGS_JVM_ONLY="-library=%none -mt -z noversion"
    88     BASIC_LDFLAGS_JVM_ONLY="-library=%none -mt -z noversion"
    89 
    89 
    90   elif test "x$TOOLCHAIN_TYPE" = xxlc; then
    90   elif test "x$TOOLCHAIN_TYPE" = xxlc; then
    91     BASIC_LDFLAGS="-b64 -brtl -bnolibpath -bexpall -bernotok -btextpsize:64K \
    91     BASIC_LDFLAGS="-b64 -brtl -bnorwexec -bnolibpath -bexpall -bernotok -btextpsize:64K \
    92         -bdatapsize:64K -bstackpsize:64K"
    92         -bdatapsize:64K -bstackpsize:64K"
    93     # libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc
    93     # libjvm.so has gotten too large for normal TOC size; compile with qpic=large and link with bigtoc
    94     BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"
    94     BASIC_LDFLAGS_JVM_ONLY="-Wl,-lC_r -bbigtoc"
    95 
    95 
    96   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then
    96   elif test "x$TOOLCHAIN_TYPE" = xmicrosoft; then