aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/rtemself.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>1998-07-09 00:37:05 +0000
committerJeff Law <law@gcc.gnu.org>1998-07-08 18:37:05 -0600
commitb098f56dec14a56da5513752bed60e7b2db2ebdf (patch)
treeaaa56589136c96bb41737ad7aebed44a6577bec0 /gcc/config/i386/rtemself.h
parent2bab5c1915a90517a48f91a0d4416eefc880d1c4 (diff)
downloadgcc-b098f56dec14a56da5513752bed60e7b2db2ebdf.zip
gcc-b098f56dec14a56da5513752bed60e7b2db2ebdf.tar.gz
gcc-b098f56dec14a56da5513752bed60e7b2db2ebdf.tar.bz2
rtemself.h: Updated to keep in sync with config/i386/linux.h.
* config/i386/rtemself.h: Updated to keep in sync with config/i386/linux.h. * configure.in: Added sh-rtemself. * configure: Rebuilt. * config/sh/rtems.h: Removed -D__ELF__ since it is now COFF. * config/sh/rtemself.h: New file. * config/rs6000/rtems.h: Defined STARTFILE_DEFAULT_SPEC. Co-Authored-By: Ralf Corsepius <corsepiu@faw.uni-ulm.de> From-SVN: r21025
Diffstat (limited to 'gcc/config/i386/rtemself.h')
-rw-r--r--gcc/config/i386/rtemself.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/rtemself.h b/gcc/config/i386/rtemself.h
index 6486102..d9d97337 100644
--- a/gcc/config/i386/rtemself.h
+++ b/gcc/config/i386/rtemself.h
@@ -41,12 +41,12 @@ Boston, MA 02111-1307, USA. */
This is only used for PIC code. See comments by the `casesi' insn in
i386.md for an explanation of the expression this outputs. */
#undef ASM_OUTPUT_ADDR_DIFF_ELT
-#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, VALUE, REL) \
+#define ASM_OUTPUT_ADDR_DIFF_ELT(FILE, BODY, VALUE, REL) \
fprintf (FILE, "\t.long _GLOBAL_OFFSET_TABLE_+[.-%s%d]\n", LPREFIX, VALUE)
/* Indicate that jump tables go in the text section. This is
necessary when compiling PIC code. */
-#define JUMP_TABLES_IN_TEXT_SECTION
+#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)
/* Copy this from the svr4 specifications... */
/* Define the register numbers to be used in Dwarf debugging information.