Commit 08777234 by Krister Walfridsson Committed by Richard Henderson

netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.

        * config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
        (JUMP_TABLES_IN_TEXT_SECTION): Define.

From-SVN: r46298
parent d39ac0fd
2001-10-16 Krister Walfridsson <cato@df.lth.se>
* config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz> Wed Oct 17 00:21:31 CEST 2001 Jan Hubicka <jh@suse.cz>
* cfg.c (free_edge): Break out from .... * cfg.c (free_edge): Break out from ....
......
...@@ -168,6 +168,16 @@ Boston, MA 02111-1307, USA. */ ...@@ -168,6 +168,16 @@ Boston, MA 02111-1307, USA. */
} }
#endif #endif
/* This is how to output an element of a case-vector that is relative.
This is only used for PIC code. */
#undef ASM_OUTPUT_ADDR_DIFF_ELT
#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 (flag_pic)
/* /*
* We always use gas here, so we don't worry about ECOFF assembler problems. * We always use gas here, so we don't worry about ECOFF assembler problems.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment