[Bug target/89096] [7/8/9 regression] AIX 7 linker rejects _<filename>.ro_ sections by default
dje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 11 13:56:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89096
--- Comment #12 from David Edelsohn <dje at gcc dot gnu.org> ---
There was a separately reported problem of _<filename>.rw_ in the text section.
This was due to read_only_private_data_section. I have a patch proposed for
that.
_<filename>.ro_ should be part of the .text section. I don't see why it would
contain relocations.
Whoever wrote the AIX support for CMake did a very poor job and apparently
didn't try to understand the semantics of AIX. It's sad that the CMake
maintainers accepted such a broken patch.
More information about the Gcc-bugs
mailing list