[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] How do you specify code model?

From: Michael Matz
Subject: Re: [Tinycc-devel] How do you specify code model?
Date: Mon, 9 Nov 2020 16:11:00 +0100 (CET)
User-agent: Alpine 2.21 (LSU 202 2017-01-01)


On Mon, 9 Nov 2020, Somchai Smythe wrote:

I guess it's documented somewhere, and I tried to find out that way,
but failed.  I looked in the tcc git root directory README file, the
man page, the TODO, the wikipedia page
https://bellard.org/tcc/, https://bellard.org/tcc/tcc-doc.html, and
tried using Google and Bing with no luck.  I tried grepping the source
and only found one file, ./elf.h, that was non-windows-centric and

Does Windows even support the large code model?

mentioned models, but they didn't seem to indicate what model is used.
It did menion huge model though:

#define SHN_PARISC_HUGE_COMMON  0xff01     /* Common blocks in huge model.  */

which is why I asked the original question.

That's PA-RISC, not x86-64. But may I ask why you went to such great lengths to find anything about the large code model on x86-64? What's your usecase?

I'm not sure if the README or other documentation should specify unsupported things as that list is unlimited. The normal course of action would be to document supported features, implying that everything not mentioned can't be expected to be supported. (Of course, TCCs current docu hasn't reached that ideal yet either).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]