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: Target specific ABI tweaks


>http://www.armdevzone.com/EABI/cppabi.pdf
>I expect 2.7, 2.8, 3.3.2 and maybe 3.1.5 to need changes in libstdc++.

Thanks. I don't see 2.7 or 2.8 in the linked-to document.

It looks like 3.2.2.3 too, BTW.

>I'm not aware of any mainline ABI changes so far on mainline. We've added a 
>new ABI, but the old one should still work. As a parallel change we're also 
>switching from sjlj exceptions to eabi based unwind tables.

Ahh, ok, that was it.

Have you seen this?

http://gcc.gnu.org/onlinedocs/libstdc++/abi.html

In it, you'll note that m68k-linux and hppa-linux bumped the libgcc_s so
version with the switch between sjlj exceptions and unwind tables. This
is something that you should do for this work as well.

>> Hopefully this change will then be documented in the release notes.
>>
>> I suggest posting your proposed changes. Some things, like the new
>> symbols in libsupc++, can easily be handled.
>
>Ok. I guess I can just use #ifdef __arm__ initially, then reconsider once we 
>have more idea exactly what is involved.

Sounds like a good plan, but you might want to consider a specific arm
abi define instead, like the MIPS ones (shudder.) At the very least, it
will be easer to search/replace when this thing gets firm.

best,
benjamin


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