]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Rename functions relating to libc support on Linux targets.
authorMaxim Kuvyrkov <maxim@kugelworks.com>
Sat, 7 Dec 2013 08:46:58 +0000 (08:46 +0000)
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>
Sat, 7 Dec 2013 08:46:58 +0000 (08:46 +0000)
* config/linux.c (linux_android_has_ifunc_p): Rename to
linux_has_ifunc_p.
(linux_android_libc_has_function): Rename to linux_libc_has_function.
* config/linux-protos.h (linux_android_has_ifunc_p,)
(linux_android_libc_has_function): Update declarations.
* config/linux.h, config/linux-android.h, config/alpha/linux.h,
* config/rs6000/linux.h, config/rs6000/linux64.h: Update.

From-SVN: r205778

gcc/ChangeLog
gcc/config/alpha/linux.h
gcc/config/linux-android.h
gcc/config/linux-protos.h
gcc/config/linux.c
gcc/config/linux.h
gcc/config/rs6000/linux.h
gcc/config/rs6000/linux64.h

index 89aa2a22322fe9160569d5e415aa4355fe364f7a..b23d5529234d9b042bed26257e45e20404f59c28 100644 (file)
@@ -1,3 +1,13 @@
+2013-12-07  Maxim Kuvyrkov  <maxim@kugelworks.com>
+
+       * config/linux.c (linux_android_has_ifunc_p): Rename to
+       linux_has_ifunc_p.
+       (linux_android_libc_has_function): Rename to linux_libc_has_function.
+       * config/linux-protos.h (linux_android_has_ifunc_p,)
+       (linux_android_libc_has_function): Update declarations.
+       * config/linux.h, config/linux-android.h, config/alpha/linux.h,
+       * config/rs6000/linux.h, config/rs6000/linux64.h: Update.
+
 2013-12-07  Maxim Kuvyrkov  <maxim@kugelworks.com>
 
        * linux-android.c: Rename to linux.c.
index da5842fda85b484bfb4d04466aa25dc4ba682219..f1e058d8f39e70886c5e7d2413280ee404978dd8 100644 (file)
@@ -70,7 +70,7 @@ along with GCC; see the file COPYING3.  If not see
 /* Determine what functions are present at the runtime;
    this includes full c99 runtime and sincos.  */
 #undef TARGET_LIBC_HAS_FUNCTION
-#define TARGET_LIBC_HAS_FUNCTION linux_android_libc_has_function
+#define TARGET_LIBC_HAS_FUNCTION linux_libc_has_function
 
 #define TARGET_POSIX_IO
 
index 831a19c416e272d6b6b0e2a7323b89514ea5404e..30ce5aef4e8f40c8a4f4286d33660c72676cbad0 100644 (file)
@@ -59,4 +59,4 @@
   "%{shared: crtend_so%O%s;: crtend_android%O%s}"
 
 #undef TARGET_HAS_IFUNC_P
-#define TARGET_HAS_IFUNC_P linux_android_has_ifunc_p
+#define TARGET_HAS_IFUNC_P linux_has_ifunc_p
index d1f0f926367615295fa5fd27881a38ea1100391d..cfc660ab4df55de89e00160216d590f772baf842 100644 (file)
@@ -18,6 +18,6 @@ You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
-extern bool linux_android_has_ifunc_p (void);
+extern bool linux_has_ifunc_p (void);
 
-extern bool linux_android_libc_has_function (enum function_class fn_class);
+extern bool linux_libc_has_function (enum function_class fn_class);
index 4a4b48d9882e6bd99f030b8822b2f164a376a0e6..40e5cbdbb03b2b885fffc0da1381401e152fe356 100644 (file)
@@ -27,13 +27,13 @@ along with GCC; see the file COPYING3.  If not see
 /* Android does not support GNU indirect functions.  */
 
 bool
-linux_android_has_ifunc_p (void)
+linux_has_ifunc_p (void)
 {
   return TARGET_ANDROID ? false : HAVE_GNU_INDIRECT_FUNCTION;
 }
 
 bool
-linux_android_libc_has_function (enum function_class fn_class)
+linux_libc_has_function (enum function_class fn_class)
 {
   if (OPTION_GLIBC)
     return true;
index 8116e698d945ace2349a7438a1d1d9b825a221e9..507471be938696a88ffcf69e3e0c98b545c26bc7 100644 (file)
@@ -102,4 +102,4 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 /* Determine what functions are present at the runtime;
    this includes full c99 runtime and sincos.  */
 #undef TARGET_LIBC_HAS_FUNCTION
-#define TARGET_LIBC_HAS_FUNCTION linux_android_libc_has_function
+#define TARGET_LIBC_HAS_FUNCTION linux_libc_has_function
index f7df111b57e29ce6dc96557865b8699fcff163f1..694367030df782d5ab3e52d2d574ba1170de3d4e 100644 (file)
@@ -39,7 +39,7 @@
 /* Determine what functions are present at the runtime;
    this includes full c99 runtime and sincos.  */
 #undef TARGET_LIBC_HAS_FUNCTION
-#define TARGET_LIBC_HAS_FUNCTION linux_android_libc_has_function
+#define TARGET_LIBC_HAS_FUNCTION linux_libc_has_function
 
 #undef  TARGET_OS_CPP_BUILTINS
 #define TARGET_OS_CPP_BUILTINS()               \
index 66b483ec116f5d2503292f494e704e0093df2c00..1870c327da010ee1596bceecd90a0de6ce0b04bf 100644 (file)
@@ -312,7 +312,7 @@ extern int dot_symbols;
 /* Determine what functions are present at the runtime;
    this includes full c99 runtime and sincos.  */
 #undef TARGET_LIBC_HAS_FUNCTION
-#define TARGET_LIBC_HAS_FUNCTION linux_android_libc_has_function
+#define TARGET_LIBC_HAS_FUNCTION linux_libc_has_function
 
 #undef  TARGET_OS_CPP_BUILTINS
 #define TARGET_OS_CPP_BUILTINS()                       \