aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2006-12-04 10:31:48 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-12-04 09:31:48 +0000
commit94983d3065b546ec059d54421b82b3aa9b852ed7 (patch)
tree1b929b419e474fad718d480321706b2adfe74886 /gcc
parent8f6e6bf375959dc0c4aad0df8374af715dd2e440 (diff)
downloadgcc-94983d3065b546ec059d54421b82b3aa9b852ed7.zip
gcc-94983d3065b546ec059d54421b82b3aa9b852ed7.tar.gz
gcc-94983d3065b546ec059d54421b82b3aa9b852ed7.tar.bz2
sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
* config/sparc/sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete. * config/sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise. From-SVN: r119482
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sparc/sp64-elf.h8
-rw-r--r--gcc/config/sparc/sysv4.h7
3 files changed, 5 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0a0984d..79ab4fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * config/sparc/sp64-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Delete.
+ * config/sparc/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
+
2006-12-04 Eric Botcazou <ebotcazou@adacore.com>
* tree.c (walk_type_fields): Do not handle TYPE_MIN_VALUE and
diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h
index 53f2144..1cfde5d 100644
--- a/gcc/config/sparc/sp64-elf.h
+++ b/gcc/config/sparc/sp64-elf.h
@@ -108,11 +108,3 @@ crtbegin.o%s \
#undef LONG_DOUBLE_TYPE_SIZE
#define LONG_DOUBLE_TYPE_SIZE 128
-
-/* The medium/anywhere code model practically requires us to put jump tables
- in the text section as gcc is unable to distinguish LABEL_REF's of jump
- tables from other label refs (when we need to). */
-/* But we now defer the tables to the end of the function, so we make
- this 0 to not confuse the branch shortening code. */
-#undef JUMP_TABLES_IN_TEXT_SECTION
-#define JUMP_TABLES_IN_TEXT_SECTION 0
diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h
index 0c0c8e0..da91e25 100644
--- a/gcc/config/sparc/sysv4.h
+++ b/gcc/config/sparc/sysv4.h
@@ -48,13 +48,6 @@ Boston, MA 02110-1301, USA. */
#undef SKIP_ASM_OP
#undef SET_ASM_OP /* Has no equivalent. See ASM_OUTPUT_DEF below. */
-/* The native assembler can't compute differences between symbols in different
- sections when generating pic code, so we must put jump tables in the
- text section. */
-/* But we now defer the tables to the end of the function, so we make
- this 0 to not confuse the branch shortening code. */
-#define JUMP_TABLES_IN_TEXT_SECTION 0
-
/* Pass -K to the assembler when PIC. */
#undef ASM_SPEC
#define ASM_SPEC \