This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Move dwarf2 frame tables to read-only section for AIX


Hi,

The following patch substantially reduces the memory requirements of
GCC compiled C++ programs on AIX.

Currently there are two different pieces of code to decide if a
read-only or a read-write section is required for exception
information:
- If the target supports named sections, there is good logic which
considers the dwarf encoding types, flag_pic and also has a target
hook for override.
- If the target doesn't support named sections, the only consideration
is flag_pic.

The key part of this patch is removing the second sub-optimal code and
using the optimal logic on all targets.

I understand David has approved the target specifics, and this just
needs a review for the dwarf changes.  I believe I have CCed the dwarf
maintainers on this email.

https://gcc.gnu.org/ml/gcc-patches/2014-09/msg01897.html

Thanks,
Andrew


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