From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Merrill To: Ian Lance Taylor Cc: bfd@cygnus.com Subject: Re: Jumptables: How painful to hack? Date: Wed, 31 Mar 1999 11:16:00 -0000 Message-id: References: <19990331155651.18995.qmail@comton.airs.com> X-SW-Source: 1999/msg00055.html >>>>> Ian Lance Taylor writes: > Date: Tue, 30 Mar 1999 21:09:18 -0800 > From: Jason Merrill > A question for folks who have worked on BFD for a while: How horrible > are jumptables to deal with? I'm looking at parameterizing the g++ > ABI, and am strongly considering that as an implementation strategy. > I started to reply, but then I realized that it depends upon what you > mean by the g++ ABI. Do you mean the code that g++ generates, or do > you mean the files in gcc/cp? The former already uses jumptables, of > course, since that's what virtual functions are, and I'm not sure in > what sense the latter has an ABI. I mean the latter. The C++ ABI involves things like object layout, handling of virtual functions and bases, name mangling and such things. Jason