aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2001-03-19 21:46:27 +0000
committerNick Clifton <nickc@gcc.gnu.org>2001-03-19 21:46:27 +0000
commite7ce60a8607279aa6312b7852c3477033596d0c4 (patch)
treea923711ee17ce07ce170209f2b120d1b48416f63
parent120d59bfb9e5e05c36f097ae4c3de72c78d370e5 (diff)
downloadgcc-e7ce60a8607279aa6312b7852c3477033596d0c4.zip
gcc-e7ce60a8607279aa6312b7852c3477033596d0c4.tar.gz
gcc-e7ce60a8607279aa6312b7852c3477033596d0c4.tar.bz2
Undo previous delta
From-SVN: r40635
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/linux-elf.h38
2 files changed, 0 insertions, 43 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cf7f7e4..0eb39de 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,8 +1,3 @@
-2001-03-19 Philip Blundell <philb@gnu.org>
-
- * arm/linux-elf.h (MAKE_DECL_ONE_ONLY, UNIQUE_SECTION_P): Define.
- (UNIQUE_SECTION): Define.
-
2001-03-19 Mark Mitchell <mark@codesourcery.com>
* cse.c (find_comparison_args): Update documentation. Fix
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index cef9896..09e4e15 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -235,44 +235,6 @@ const_section () \
go into the const section. */
#define SELECT_RTX_SECTION(MODE,RTX) const_section ()
-#define MAKE_DECL_ONE_ONLY(DECL) (DECL_WEAK (DECL) = 1)
-#define UNIQUE_SECTION_P(DECL) (DECL_ONE_ONLY (DECL))
-
-#define UNIQUE_SECTION(DECL, RELOC) \
- do \
- { \
- int len; \
- char *name; \
- char *string; \
- char *prefix; \
- \
- name = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL)); \
- \
- if (! DECL_ONE_ONLY (DECL)) \
- { \
- prefix = "."; \
- if (TREE_CODE (DECL) == FUNCTION_DECL) \
- prefix = ".text."; \
- else if (DECL_READONLY_SECTION (DECL, RELOC)) \
- prefix = ".rodata."; \
- else \
- prefix = ".data."; \
- } \
- else if (TREE_CODE (DECL) == FUNCTION_DECL) \
- prefix = ".gnu.linkonce.t."; \
- else if (DECL_READONLY_SECTION (DECL, RELOC)) \
- prefix = ".gnu.linkonce.r."; \
- else \
- prefix = ".gnu.linkonce.d."; \
- \
- len = strlen (name) + strlen (prefix); \
- string = alloca (len + 1); \
- sprintf (string, "%s%s", prefix, name); \
- \
- DECL_SECTION_NAME (DECL) = build_string (len, string); \
- } \
- while (0)
-
/* On svr4, we *do* have support for the .init and .fini sections, and we
can put stuff in there to be executed before and after `main'. We let
crtstuff.c and other files know this by defining the following symbols.