linux64.h (STRIP_NAME_ENCODING): Delete.
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 15 Feb 2002 21:04:53 +0000 (21:04 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 15 Feb 2002 21:04:53 +0000 (16:04 -0500)
        * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
        * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.

From-SVN: r49796

gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/ppc-asm.h

index 5705744..682ed30 100644 (file)
@@ -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.
index d014afe..471bfd6 100644 (file)
@@ -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.  */
 
index 3a6fb2a..27f3635 100644 (file)
@@ -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: \