mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08:00
m68k: remove non-ELF support
This commit is contained in:
parent
10fd25cc3b
commit
5de7dd3ece
@ -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
|
||||
|
@ -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.
|
||||
|
||||
@ -18,32 +18,15 @@
|
||||
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)@
|
||||
|
@ -23,26 +23,15 @@
|
||||
|
||||
/* 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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user