Re: Moving C++ code to a different ELF section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 19, 2014 at 12:45 PM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
[snip]
> OK, then I think your best path forward will be to modify the compiler
> to enhance that option to work with exception handling.  I don't know
> of any fundamental reason why exception handling is incompatible with
> separate sections for hot and cold code, though it will likely require
> a modification to the way the exception frame information is generated
> (this is, as it happens, the same CFI information that you are getting
> errors on with your asm approach).

That would be quite a challenge for me as I have zero experience with
the gcc codebase.


> Or, of course, you can use different functions for the cold code,
> using the section attribute to put them in a different section, if
> that is workable.

That won't enable me to use it without extensive modifications to the
current code base.


Thanks,
Saul




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux