aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2002-02-15 21:04:53 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2002-02-15 16:04:53 -0500
commit34d1b01d2e3a634317fa53965a4341f97e2cd4bc (patch)
treec08845a7cdab0ae82f3927480ef8e8e3513e4b51
parentbe5cc51a9bcc7fa15701a93ae47410d255089561 (diff)
downloadgcc-34d1b01d2e3a634317fa53965a4341f97e2cd4bc.zip
gcc-34d1b01d2e3a634317fa53965a4341f97e2cd4bc.tar.gz
gcc-34d1b01d2e3a634317fa53965a4341f97e2cd4bc.tar.bz2
linux64.h (STRIP_NAME_ENCODING): Delete.
* config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete. * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64. From-SVN: r49796
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/linux64.h11
-rw-r--r--gcc/config/rs6000/ppc-asm.h1
3 files changed, 6 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5705744..682ed30 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-15 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
+ * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
+
2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h
index d014afe..471bfd6 100644
--- a/gcc/config/rs6000/linux64.h
+++ b/gcc/config/rs6000/linux64.h
@@ -208,17 +208,6 @@ Boston, MA 02111-1307, USA. */
&& ! DECL_WEAK (DECL)) \
SYMBOL_REF_FLAG (XEXP (DECL_RTL (DECL), 0)) = 1;
-/* This macro gets just the user-specified name
- out of the string in a SYMBOL_REF. Discard
- a leading * or @. */
-#define STRIP_NAME_ENCODING(VAR,SYMBOL_NAME) \
-do { \
- const char *_name = (SYMBOL_NAME); \
- while (*_name == '*' || *_name == '@') \
- _name++; \
- (VAR) = _name; \
-} while (0)
-
/* This is how to output a reference to a user-level label named NAME.
`assemble_name' uses this. */
diff --git a/gcc/config/rs6000/ppc-asm.h b/gcc/config/rs6000/ppc-asm.h
index 3a6fb2a..27f3635 100644
--- a/gcc/config/rs6000/ppc-asm.h
+++ b/gcc/config/rs6000/ppc-asm.h
@@ -161,6 +161,7 @@ GLUE(.L,name): \
#elif defined (__powerpc64__)
#define FUNC_NAME(name) GLUE(.,name)
+#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.section ".opd","aw"; \
name: \