diff options
Diffstat (limited to 'contrib/gcc/config/rs6000/xcoff.h')
-rw-r--r-- | contrib/gcc/config/rs6000/xcoff.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/contrib/gcc/config/rs6000/xcoff.h b/contrib/gcc/config/rs6000/xcoff.h index e60f3fe..4a51b04 100644 --- a/contrib/gcc/config/rs6000/xcoff.h +++ b/contrib/gcc/config/rs6000/xcoff.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for some generic XCOFF file format - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file is part of GNU CC. @@ -22,10 +22,6 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OBJECT_FORMAT OBJECT_XCOFF -/* The AIX linker will discard static constructors in object files before - collect has a chance to see them, so scan the object files directly. */ -#define COLLECT_EXPORT_LIST - /* The RS/6000 uses the XCOFF format. */ #define XCOFF_DEBUGGING_INFO @@ -345,13 +341,7 @@ toc_section () \ SYMBOL_REF_FLAG (sym_ref) = 1; \ if (TREE_PUBLIC (DECL)) \ { \ - if (RS6000_WEAK && DECL_WEAK (decl)) \ - { \ - fputs ("\t.weak .", FILE); \ - RS6000_OUTPUT_BASENAME (FILE, NAME); \ - putc ('\n', FILE); \ - } \ - else \ + if (!RS6000_WEAK || !DECL_WEAK (decl)) \ { \ fputs ("\t.globl .", FILE); \ RS6000_OUTPUT_BASENAME (FILE, NAME); \ @@ -464,20 +454,6 @@ toc_section () \ xcoff_bss_section_name); \ } while (0) -/* Output a weak symbol, if weak support present. */ -#ifdef HAVE_GAS_WEAK -#define HANDLE_PRAGMA_WEAK 1 - -#define ASM_WEAKEN_LABEL(FILE, NAME) \ - do \ - { \ - fputs ("\t.weak ", (FILE)); \ - assemble_name ((FILE), (NAME)); \ - fputc ('\n', (FILE)); \ - } \ - while (0) -#endif /* HAVE_GAS_WEAK */ - /* This is how we tell the assembler that two symbols have the same value. */ #define SET_ASM_OP "\t.set " |