This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: JUMP_TABLES_IN_TEXT_SECTION
- To: Bernd Schmidt <crux at pool dot informatik dot rwth-aachen dot de>
- Subject: Re: JUMP_TABLES_IN_TEXT_SECTION
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 22 May 1998 01:00:40 -0600
- cc: Joern Rennecke <amylaar at cygnus dot co dot uk>, egcs at cygnus dot com, wilson at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SOL.3.90.980409135817.4169D@bond.informatik.rwth-aachen.de>yrite:
> Here's the next version of the patch. I hope all the configurations are
> changed correctly now, but I can only test ix86-linux (this is also the
> reason why I didn't change configurations like freebsd-elf to use flag_pic
> as the value, although this would probably work as well).
>
> Bernd
> * final.c: Define JUMP_TABLES_IN_TEXT_SECTION to a default value
> of 0 if it isn't defined.
> (shorten_branches, final_scan_insn): Test value
> of JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
> is defined.
>
> * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
> * arm/tcoff.h: Likewise.
> * i386/386bsd.h: Likewise.
> * i386/freebsd-elf.h: Likewise.
> * i386/freebsd.h: Likewise.
> * i386/netbsd.h: Likewise.
> * i386/ptx4-i.h: Likewise.
> * i386/sysv4.h: Likewise.
> * pa/pa.h: Likewise.
> * rs6000/linux.h: Likewise.
> * rs6000/rs6000.h: Likewise.
> * sh/sh.h: Likewise.
> * sparc/sp64-elf.h: Likewise.
> * v850/v850.h: Likewise.
> * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
> * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).
Thanks. I've installed this patch. Sorry it took so long to get
back to it.
jeff