summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/m68k/crt1.S4
-rw-r--r--libc/sysdeps/linux/m68k/m68k_pic.S6
2 files changed, 5 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/m68k/crt1.S b/libc/sysdeps/linux/m68k/crt1.S
index a5f973fe2..a9cf00193 100644
--- a/libc/sysdeps/linux/m68k/crt1.S
+++ b/libc/sysdeps/linux/m68k/crt1.S
@@ -85,7 +85,7 @@ _start:
.equ have_current_got, 1
#endif
-#ifdef __HAVE_SHARED_FLAT__
+#ifdef __UCLIBC_FORMAT_SHARED_FLAT__
CALL __shared_flat_add_library,%a1
#endif
@@ -113,7 +113,7 @@ _start:
/* Push the address of our own entry points to `.fini' and
`.init'. */
-#if defined __HAVE_SHARED_FLAT__
+#if defined __UCLIBC_FORMAT_SHARED_FLAT__
PEA_TEXT __shared_flat_fini,%a1
PEA_TEXT __shared_flat_init,%a1
#else
diff --git a/libc/sysdeps/linux/m68k/m68k_pic.S b/libc/sysdeps/linux/m68k/m68k_pic.S
index e01e33b83..d41509ec3 100644
--- a/libc/sysdeps/linux/m68k/m68k_pic.S
+++ b/libc/sysdeps/linux/m68k/m68k_pic.S
@@ -16,7 +16,7 @@
* a text address. <tmp> is available as a temporary address
* register. */
.macro DO_TEXT op,target,tmp
-#if defined __HAVE_SHARED_FLAT__
+#if defined __UCLIBC_FORMAT_SHARED_FLAT__
.ifne have_current_got
move.l \target@GOT(%a5),\tmp
.else
@@ -50,7 +50,7 @@
/* Initialize the global pointer, if functions need to do that. */
.macro INIT_GP
-#if defined __HAVE_SHARED_FLAT__
+#if defined __UCLIBC_FORMAT_SHARED_FLAT__
move.l %a5,-(%sp)
move.l _current_shared_library_a5_offset_(%a5),%a5
#endif
@@ -58,7 +58,7 @@
/* Undo the effects of INIT_GP. */
.macro FINI_GP
-#if defined __HAVE_SHARED_FLAT__
+#if defined __UCLIBC_FORMAT_SHARED_FLAT__
move.l (%sp)+,%a5
#endif
.endm