[fpc-pascal] Building trunk
florian at freepascal.org
Sun Nov 25 13:58:27 CET 2018
Am 25.11.2018 um 13:51 schrieb Florian Klämpfl:
> Am 25.11.2018 um 13:06 schrieb C Western:
>>>>> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>>>> That gives the same value as shown above, even after applying the patch. Single stepping the code indicates that both
>>>> variables are assigned: (Some lines deleted).
>>> This is pretty strange then. This code is pretty simple and in general, tls initialization should be done regardless if
>>> FPC uses it for threadvars or not. What version of Fedora are you using?
>>> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
>> Fedora 29 (64 bit). Did you see my other message in the thread about a different offset in program header when compiled
>> under Fedora and Ubuntu? (It works on Ubuntu). It is though an offset needs to be applied to find the program header,
>> but I can't see where to find it.
> I am not aware that somewhere a fixed offset is applied. All info is read from the auxiliary data and the header.
You mean the offset field in the header? I cannot imaging how the offset in the header could influence the header itself?
More information about the fpc-pascal