aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-02-07 00:41:11 +0100
committerMarek Polacek <polacek@redhat.com>2012-02-07 00:41:11 +0100
commit622c86f48086403c889a2a16f2f09badde0eac7d (patch)
tree52a39629345270d5b4f4777cdf548f3ddd5314fc /sysdeps/powerpc
parentd4a54ac6494dd47a9c3d490e02897c69c0432341 (diff)
downloadglibc-622c86f48086403c889a2a16f2f09badde0eac7d.tar
glibc-622c86f48086403c889a2a16f2f09badde0eac7d.tar.gz
glibc-622c86f48086403c889a2a16f2f09badde0eac7d.tar.bz2
glibc-622c86f48086403c889a2a16f2f09badde0eac7d.zip
Remove __ELF__ conditionals
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/powerpc32/sysdep.h6
-rw-r--r--sysdeps/powerpc/powerpc64/sysdep.h6
-rw-r--r--sysdeps/powerpc/sysdep.h6
3 files changed, 3 insertions, 15 deletions
diff --git a/sysdeps/powerpc/powerpc32/sysdep.h b/sysdeps/powerpc/powerpc32/sysdep.h
index eb04afbcd6..01e27eee89 100644
--- a/sysdeps/powerpc/powerpc32/sysdep.h
+++ b/sysdeps/powerpc/powerpc32/sysdep.h
@@ -1,5 +1,5 @@
/* Assembly macros for 32-bit PowerPC.
- Copyright (C) 1999, 2001, 2002, 2003, 2006, 2011, 2012
+ Copyright (C) 1999, 2001-2003, 2006, 2011-2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -22,8 +22,6 @@
#ifdef __ASSEMBLER__
-#ifdef __ELF__
-
/* If compiled for profiling, call `_mcount' at the start of each
function. */
#ifdef PROF
@@ -160,6 +158,4 @@ GOT_LABEL: ; \
/* Label in text section. */
#define C_TEXT(name) name
-#endif /* __ELF__ */
-
#endif /* __ASSEMBLER__ */
diff --git a/sysdeps/powerpc/powerpc64/sysdep.h b/sysdeps/powerpc/powerpc64/sysdep.h
index 5fc6e4f2f3..4ad45ea5c3 100644
--- a/sysdeps/powerpc/powerpc64/sysdep.h
+++ b/sysdeps/powerpc/powerpc64/sysdep.h
@@ -1,5 +1,5 @@
/* Assembly macros for 64-bit PowerPC.
- Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2002-2004, 2006, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -19,8 +19,6 @@
#include <sysdeps/powerpc/sysdep.h>
-#ifdef __ELF__
-
#ifdef __ASSEMBLER__
/* Support macros for CALL_MCOUNT. */
@@ -313,5 +311,3 @@ LT_LABELSUFFIX(name,_name_end): ; \
#endif
#endif /* __ASSEMBLER__ */
-
-#endif /* __ELF__ */
diff --git a/sysdeps/powerpc/sysdep.h b/sysdeps/powerpc/sysdep.h
index f5c79c54ef..8a91391971 100644
--- a/sysdeps/powerpc/sysdep.h
+++ b/sysdeps/powerpc/sysdep.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2001, 2002, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001-2002, 2006, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -169,14 +169,10 @@
#define VRSAVE 256
-#ifdef __ELF__
-
/* This seems to always be the case on PPC. */
#define ALIGNARG(log2) 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
-#endif /* __ELF__ */
#endif /* __ASSEMBLER__ */
-