aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pragma.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@redhat.com>2001-08-28 23:03:52 +0000
committerEric Christopher <echristo@gcc.gnu.org>2001-08-28 23:03:52 +0000
commit46f9491e74bcfdad8409d33bb407677e3a126f50 (patch)
tree490b4a7728416582f147cb5193c5b68562a77802 /gcc/c-pragma.h
parent5dde01439ea4977e8678c6cfc096c5a7d13fe821 (diff)
downloadgcc-46f9491e74bcfdad8409d33bb407677e3a126f50.zip
gcc-46f9491e74bcfdad8409d33bb407677e3a126f50.tar.gz
gcc-46f9491e74bcfdad8409d33bb407677e3a126f50.tar.bz2
c-pragma.h (add_weak): Move prototype from here...
2001-08-28 Eric Christopher <echristo@redhat.com> Richard Henderson <rth@redhat.com> * c-pragma.h (add_weak): Move prototype from here... * output.h (add_weak): ... to here. * varasm.c (add_weak): Fix typo. * config/mips/crti.asm: New file. * config/mips/crtn.asm: Ditto. * config/mips/elf.h (SBSS_SECTION_ASM_OP) Add #undef. (CTOR_LISTS_DEFINED_EXTERNALLY): Remove. (INVOKE__main): Ditto. (INIT_SECTION_ASM_OP): New. (FINI_SECTION_ASM_OP): Ditto. (STARTFILE_SPEC): Add crti. (ENDFILE_SPEC): Add crtn. * config/mips/elf64.h: Same. * config/mips/rtems64.h (INVOKE__main, NAME__MAIN, SYMBOL__MAIN): Remove. * config/mips/vxworks.h: Ditto. * config/mips/t-elf: Support crti and crtn. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r45243
Diffstat (limited to 'gcc/c-pragma.h')
-rw-r--r--gcc/c-pragma.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h
index f60a566..6f0d6ea 100644
--- a/gcc/c-pragma.h
+++ b/gcc/c-pragma.h
@@ -41,11 +41,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define HANDLE_PRAGMA_PACK 1
#endif /* HANDLE_PRAGMA_PACK_PUSH_POP */
-
-#ifdef HANDLE_PRAGMA_WEAK
-extern int add_weak PARAMS ((const char *, const char *));
-#endif /* HANDLE_PRAGMA_WEAK */
-
extern void init_pragma PARAMS ((void));
/* Duplicate prototypes for the register_pragma stuff and the typedef for