This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Version script vs. mangled names on systems where size_type != unsigned int


Paolo Carlini wrote:
> On 12/17/2009 03:28 PM, Dave Korn wrote:
>> I'm not sure what first occurrence you mean or what goes before "...and
>> below" in that sentence, but how about this instead:
>>   
> The first occurrence of 'x' and 'y', what else? Just a one-line comment
> before the first time you use 'x' and 'y', describing those, reminding
> about LLP64 and finishing with something like "... and below", to mean
> that there are more 'x' and 'y' in the patterns below. I don't find that
> so strange...

  Do you mean something like this ...

> @@ -167,20 +167,22 @@ GLIBCXX_3.4 {
>      # Names not in an 'extern' block are mangled names.
>  
>      # std::string
> -    _ZNSsC[12][EI][PRjmvN]*;
> +    # 'y' here and below represents 'unsigned long long'
> +    # where it is used for size_type on LLP64 platforms.
> +    _ZNSsC[12][EI][PRjmvyN]*;

... and this?


> @@ -342,7 +344,9 @@ GLIBCXX_3.4 {
>      _ZNKSi[0-9][a-z]*;
>      _ZNSi[0-9][a-h]*;
>      _ZNSi[0-9][j-z]*;
> -    _ZNSi6ignoreE[il][il];
> +    # 'x' here and below matches 'long long' where it
> +    # is used for signed sizetypes on LLP64 platforms.
> +    _ZNSi6ignoreE[ilx][ilx];
>      _ZNSirsE*[^g];

    cheers,
      DaveK


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]