This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/6] vfprintf: Introduce JUMP_TABLE_BASE_LABEL
- From: Florian Weimer <fweimer at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Sun, 01 Mar 2015 23:41:16 +0100
- Subject: Re: [PATCH 2/6] vfprintf: Introduce JUMP_TABLE_BASE_LABEL
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1425246936 dot git dot fweimer at redhat dot com> <ee12c20c28ddae424436689329d4dd79a4fdc81a dot 1425246936 dot git dot fweimer at redhat dot com> <87r3t85orx dot fsf at igel dot home>
On 03/01/2015 11:36 PM, Andreas Schwab wrote:
> Florian Weimer <fweimer@redhat.com> writes:
>
>> @@ -1897,7 +1898,9 @@ do_positional:
>> {
>> #undef REF
>> #ifdef SHARED
>> -# define REF(Name) &&do2_##Name - &&do_form_unknown
>> +# undef JUMP_TABLE_BASE_LABEL
>> +# define JUMP_TABLE_BASE_LABEL do2_form_unknown
>
> Where do you define that label?
Its name is generated with the LABEL macro:
#define LABEL(Name) do2_##Name
and eventually defined by the STEP4_TABLE macro.
--
Florian Weimer / Red Hat Product Security