about summary refs log tree commit diff
path: root/ports/sysdeps/m68k/asm-syntax.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-08-03 11:35:12 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-08-03 12:13:29 +0200
commitfe58a6517dcfc9e0466fb71954f999a268d71060 (patch)
tree15118544eefff4dfc623eefe807be61c8b02fd11 /ports/sysdeps/m68k/asm-syntax.h
parent606dd3d9f42bc741f919ebdb2d86a59aaf525023 (diff)
downloadglibc-fe58a6517dcfc9e0466fb71954f999a268d71060.tar.gz
glibc-fe58a6517dcfc9e0466fb71954f999a268d71060.tar.xz
glibc-fe58a6517dcfc9e0466fb71954f999a268d71060.zip
m68k: remove ASM_{TYPE,SIZE}_DIRECTIVE and ALIGNARG
Diffstat (limited to 'ports/sysdeps/m68k/asm-syntax.h')
-rw-r--r--ports/sysdeps/m68k/asm-syntax.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/ports/sysdeps/m68k/asm-syntax.h b/ports/sysdeps/m68k/asm-syntax.h
index 53f5259b0e..f011ff2de8 100644
--- a/ports/sysdeps/m68k/asm-syntax.h
+++ b/ports/sysdeps/m68k/asm-syntax.h
@@ -1,5 +1,5 @@
 /* Definitions for 68k syntax variations.
-   Copyright (C) 1992, 1994, 1996, 1997, 2012 Free Software Foundation, Inc.
+   Copyright (C) 1992-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.
 
@@ -17,11 +17,6 @@
    License along with the GNU C Library.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-/* 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.  */
 #define R_(r) %##r
 #define R(r) R_(r)
@@ -35,8 +30,6 @@
 #define MEM_PREDEC(memory_base)R(memory_base)@-
 #define MEM_POSTINC(memory_base)R(memory_base)@+
 #define TEXT .text
-#define ALIGN .even
-#define GLOBL .globl
 /* Use variable sized opcodes.  */
 #define bcc jcc
 #define bcs jcs
@@ -56,8 +49,6 @@
 #define MEM_INDX1_(base,idx,size_suffix,scale)(R(base),R(idx##.##size_suffix*scale))
 #define MEM_INDX1(base,idx,size_suffix,scale)MEM_INDX1_(base,idx,size_suffix,scale)
 #define TEXT .text
-#define ALIGN .align ALIGNARG(2)
-#define GLOBL .globl
 #define bcc jbcc
 #define bcs jbcs
 #define bls jbls