On Mon, 7 Oct 2024 20:59:12 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

> I think the new rules define a bunch of rules that all layouts that model C 
> type declarations should follow - but do so in broad strokes, still allowing 
> the linker implementation to have the final say on what is and is not 
> accepted.

I completely agree with you, but I was worried about another case.

I'm wondering if a particular linker implementation must declare its 
compatibility with the C calling convention for that platform? An 
implementation may reject many things that are possible, but what it accepts 
_must_ be consistent with the native convention, otherwise it doesn't make 
sense.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/21041#issuecomment-2399037464

Reply via email to