diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-04-29 17:36:23 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2012-04-29 17:36:23 +0000 |
commit | 52fb52bd2c3546dfdca6eb04e87f4a8f3b0a741c (patch) | |
tree | deacf4b4b6a9d8fa4d826ecf3af2a267f99d9799 /compiler/ognlm.pas | |
parent | 74245e0df19b26e5d3cc3e58ded7ef14970a99cf (diff) | |
download | fpc-52fb52bd2c3546dfdca6eb04e87f4a8f3b0a741c.tar.gz |
* replaced most (if not all) remaining fields/parameters in the compiler
that deal with paths/filenames with TPathStr (= ansistring) to prevent
cutting off long paths (no change in speed when compiling the compiler,
1% extra memory usage)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@21120 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ognlm.pas')
-rw-r--r-- | compiler/ognlm.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ognlm.pas b/compiler/ognlm.pas index 1f479ba9c8..42606b3af1 100644 --- a/compiler/ognlm.pas +++ b/compiler/ognlm.pas @@ -770,7 +770,7 @@ function SecOpts(SecOptions:TObjSectionOptions):string; { Initial header, will be updated later } nlmHeader.signature := NLM_SIGNATURE; nlmHeader.version := NLM_HEADER_VERSION; - moduleName := upperCase(current_module.exefilename^); + moduleName := upperCase(current_module.exefilename); nlmHeader.moduleName := moduleName; nlmHeader.codeImageOffset := TextExeSec.DataPos+TObjSection(TextExeSec.ObjSectionList[0]).dataalignbytes; // ??? may be that align has to be moved to fixups/imports nlmHeader.codeImageSize := TextExeSec.Size; |