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@lists.freepascal.org >>>>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >>>> 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@lists.freepascal.org >>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal >> >> 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? _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal