This is the mail archive of the
mailing list for the GCC project.
exception_receiver in i386.md
- To: Richard Henderson <rth at redhat dot com>, john at feith dot com
- Subject: exception_receiver in i386.md
- From: Philip Blundell <pb at futuretv dot com>
- Date: Mon, 15 Jan 2001 10:42:00 +0000
- Cc: gcc at gcc dot gnu dot org
Richard Henderson wrote:
>On Sun, Jan 14, 2001 at 11:09:34PM +0000, Philip Blundell wrote:
>> Fair enough. I noticed that i386 has an exception_receiver like that;
>> is that needed for some other reason?
>Hmm. It would be worth while to do some archaeology and find out why
>it was added. I suspect that it was supersticious. Someone saw that
>such a pattern was added to another port that has a call-clobbered pic
>register and figured the same thing was needed for x86.
Turns out it's been there since 1998 - longer, in fact, than the
builtin_setjmp_receiver, which was only added in January 2000.
Mon Jun 22 23:13:47 1998 John Wehle (email@example.com)
* i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
* i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
* i386.md (exception_receiver): Define.
John, do you remember why this was done?