> However, writing this mail, I'm wondering if we don't want to always keep both
> csects. If .data is kept, then .text is and if .text is kept, then .data is.
> Or always keeping .data would have too much side effects ?
>
> Thanks,
> Clément
>
> __
David Edelsohn
Sent: Thursday, October 14, 2021 3:42 PM
To: CHIGOT, CLEMENT
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] aix: ensure reference to __tls_get_addr is in text section.
Caution! External email. Do not open attachments or click links, unless this
email comes from a known sender and yo
The reference to __tls_get_addr is in the data section. And the code
just above creates a symbol in the text section referenced from the
data section to ensure the text section is retained. So this change
doesn't make sense. You're essentially saying that the data section
is not used, which make