]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
m68k: remove non-ELF support
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 8 Jan 2012 09:59:42 +0000 (10:59 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 8 Jan 2012 09:59:42 +0000 (10:59 +0100)
ChangeLog.m68k
sysdeps/m68k/asm-syntax.h
sysdeps/m68k/sysdep.h

index 8c81807582c8ad841632017952a7e6154e174f57..3190368104af843e274c966743e3b2a399632aa5 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-08  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * sysdeps/m68k/sysdep.h: Remove non-ELF support.
+       * sysdeps/m68k/asm-syntax.h: Likewise.
+
 2012-01-07  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/unix/sysv/linux/m68k/configure.in: Set
index 645e90676260e46b6662c17c454a3598a3f760cb..4a5e14e6551d1c48c7dd01c1e3b51dd0a9c86666 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for 68k syntax variations.
-   Copyright (C) 1992, 1994, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1994, 1996, 1997, 2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.  Its master source is NOT part of
    the C library, however.  The master source lives in the GNU MP Library.
 
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#ifdef HAVE_ELF
-
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
 #define ALIGNARG(log2) 1<<log2
 /* For ELF we need the `.type' directive to make shared libs work right.  */
 #define PROLOG(name) .type name,@function
 #define EPILOG(name) .size name,.-name
 /* For ELF we need to prefix register names and local labels.  */
-#ifdef __STDC__
 #define R_(r) %##r
 #define R(r) R_(r)
 #define L(label) .##label
-#else
-#define R(r) %/**/r
-#define L(label) ./**/label
-#endif
-
-#else
-
-#define ALIGNARG(log2) log2
-#define PROLOG(name) /* Nothing.  */
-#define EPILOG(name) /* Nothing.  */
-#define R(r) r
-#define L(label) label
-
-#endif
 
 #ifdef MIT_SYNTAX
 #define MEM(base)R(base)@
index 2b0e936bded7d1c8043ac3de4668a662ebe09495..2888781287c1642ef9a8e35095eacddd0ac0b2ac 100644 (file)
 
 /* Syntactic details of assembler.  */
 
-# ifdef HAVE_ELF
-
 /* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
-#  define ALIGNARG(log2) 1<<log2
+# define ALIGNARG(log2) 1<<log2
 /* For ELF we need the `.type' directive to make shared libs work right.  */
-#  define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg
-#  define ASM_SIZE_DIRECTIVE(name) .size name,.-name
+# define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg
+# define ASM_SIZE_DIRECTIVE(name) .size name,.-name
 
 /* In ELF C symbols are asm symbols.  */
-#  undef NO_UNDERSCORES
-#  define NO_UNDERSCORES
-
-# else
-
-#  define ALIGNARG(log2) log2
-#  define ASM_TYPE_DIRECTIVE(name,type)        /* Nothing is specified.  */
-#  define ASM_SIZE_DIRECTIVE(name)     /* Nothing is specified.  */
-
-# endif
-
+# undef NO_UNDERSCORES
+# define NO_UNDERSCORES
 
 /* Define an entry point visible from C.