summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>2002-02-16 22:13:59 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2002-02-16 22:13:59 +0000
commit604c75b22cadf457a34b3aeed9e677398405ff0d (patch)
tree48f9518b6737d02a42cfa7b0683b27f9579f28c9 /gcc/config
parent3b79452813062052bbba3ece4f3636bc6f332b7d (diff)
downloadgcc-604c75b22cadf457a34b3aeed9e677398405ff0d.tar.gz
t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
* pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm. * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. * som.h (DO_GLOBAL_DTORS_BODY): Delete define. From-SVN: r49810
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/pa/som.h18
-rw-r--r--gcc/config/pa/t-pa6
-rw-r--r--gcc/config/pa/t-pro6
3 files changed, 2 insertions, 28 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index e6ac6fba544..5b8b198346f 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -1,5 +1,5 @@
/* Definitions for SOM assembler support.
- Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -351,22 +351,6 @@ readonly_data () \
#define ASM_FILE_END(FILE) output_deferred_plabels (FILE)
-/* We want __gcc_plt_call to appear in every program built by
- gcc, so we make a reference to it out of __main.
- We use the asm statement to fool the optimizer into not
- removing the dead (but important) initialization of
- REFERENCE. */
-
-#define DO_GLOBAL_DTORS_BODY \
-do { \
- extern void __gcc_plt_call (); \
- void (*reference)() = &__gcc_plt_call; \
- func_ptr *p; \
- __asm__ ("" : : "r" (reference)); \
- for (p = __DTOR_LIST__ + 1; *p; ) \
- (*p++) (); \
-} while (0)
-
/* The .align directive in the HP assembler allows up to a 32 alignment. */
#define MAX_OFILE_ALIGNMENT 32768
diff --git a/gcc/config/pa/t-pa b/gcc/config/pa/t-pa
index 863e8432015..ddb44ab60ed 100644
--- a/gcc/config/pa/t-pa
+++ b/gcc/config/pa/t-pa
@@ -1,9 +1,5 @@
T_ADAFLAGS=-mdisable-indexing
-LIB2FUNCS_EXTRA=lib2funcs.asm quadlib.c
-
-lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
- rm -f lib2funcs.asm
- cp $(srcdir)/config/pa/lib2funcs.asm .
+LIB2FUNCS_EXTRA=quadlib.c
quadlib.c: $(srcdir)/config/pa/quadlib.c
rm -f quadlib.c
diff --git a/gcc/config/pa/t-pro b/gcc/config/pa/t-pro
index a47d72f98c9..0f523134d06 100644
--- a/gcc/config/pa/t-pro
+++ b/gcc/config/pa/t-pro
@@ -1,7 +1,5 @@
T_ADAFLAGS=-mdisable-indexing
-LIB2FUNCS_EXTRA=lib2funcs.asm
-
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
@@ -13,7 +11,3 @@ dp-bit.c: $(srcdir)/config/fp-bit.c
fp-bit.c: $(srcdir)/config/fp-bit.c
echo '#define FLOAT' > fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
-lib2funcs.asm: $(srcdir)/config/pa/lib2funcs.asm
- rm -f lib2funcs.asm
- cp $(srcdir)/config/pa/lib2funcs.asm .