diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-12-11 00:25:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-12-11 00:25:23 +0000 |
commit | e1d59aed553bce7018873da60c712d711d080f8d (patch) | |
tree | ed414ae1fdbf5030ceb79f179b163aa2acb1619a /libc/sysdeps/linux/m68k | |
parent | 5b896451eea5183f6404d68656038299108ffc60 (diff) |
create new menu so people can select what format they wish to build uClibc
Diffstat (limited to 'libc/sysdeps/linux/m68k')
-rw-r--r-- | libc/sysdeps/linux/m68k/crt1.S | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/m68k/m68k_pic.S | 6 |
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 |