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: [PATCH, testsuite] Fix PR78544 for Darwin.


> On 15 Aug 2018, at 20:07, Joseph Myers <joseph@codesourcery.com> wrote:
> 
> On Wed, 15 Aug 2018, Iain Sandoe wrote:
> 
>> One of my Grand Ideas (i.e. things that might never happen because of 
>> time) would be to split out the Well Known Sections used by GCC into 
>> file/files with .defs for the different flavours. This would mean one 
>> place to add a new GCC named section - which would make it much less 
>> likely for folks to forget to add the Darwin ones (assuming there are no 
>> targets left without named sections).
> 
> Targets without named sections are pdp11 and 32-bit PA HP-UX (plus 
> m68k-openbsd and vax-openbsd, but I think the non-ELF OpenBSD targets are 
> for very old OpenBSD versions, probably long obsolete).

So, I suppose, one would need to make it possible to put .data / .text  to pick the
 “most suitable” substitute for those (I guess somehow that’s already done for
existing generic infra. that uses named sections).

Iain


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