diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-13 20:44:00 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2008-02-13 20:44:00 +0000 |
commit | ac2da1eb6617b7791e8797c0660bdd1fec5a1e4f (patch) | |
tree | d5591f194d298863eaa7116a04826662aa0d8c68 /compiler/ogmap.pas | |
parent | 2c2632a81763220d8470d26ac23a0168a58e88ac (diff) | |
download | fpc-ac2da1eb6617b7791e8797c0660bdd1fec5a1e4f.tar.gz |
* split cpu64bit compiler define into
a) cpu64bitaddr, which means that we are generating a compiler which
will generate code for targets with a 64 bit address space/abi
b) cpu64bitalu, which means that we are generating a compiler which
will generate code for a cpu with support for 64 bit integer
operations (possibly running in a 32 bit address space, depending
on the cpu64bitaddr define)
All cpus which had cpu64bit set now have both the above defines set,
and none of the 32 bit cpus have cpu64bitalu set (and none will
compile with it currently)
+ pint and puint types, similar to aint/aword (not pword because that
that conflicts with pword=^word)
* several changes from aint/aword to pint/pword
* some changes of tcgsize2size[OS_INT] to sizeof(pint)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@10320 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ogmap.pas')
-rw-r--r-- | compiler/ogmap.pas | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/compiler/ogmap.pas b/compiler/ogmap.pas index cb85408858..1360e5f5e6 100644 --- a/compiler/ogmap.pas +++ b/compiler/ogmap.pas @@ -121,7 +121,7 @@ implementation begin FImageBase:=abase; if FImageBase<>0 then - imagebasestr:=' (ImageBase='+HexStr(FImageBase,sizeof(aint)*2)+')' + imagebasestr:=' (ImageBase='+HexStr(FImageBase,sizeof(pint)*2)+')' else imagebasestr:=''; AddHeader('Memory map'+imagebasestr); @@ -132,8 +132,8 @@ implementation procedure TExeMap.AddMemoryMapExeSection(p:texesection); begin { .text 0x000018a8 0xd958 } - Add(PadSpace(p.name,19)+PadSpace(' 0x'+HexStr(p.mempos+Fimagebase,sizeof(aint)*2),12)+ - ' 0x'+HexStr(p.size,sizeof(aint))); + Add(PadSpace(p.name,19)+PadSpace(' 0x'+HexStr(p.mempos+Fimagebase,sizeof(pint)*2),12)+ + ' 0x'+HexStr(p.size,sizeof(pint))); end; @@ -148,15 +148,15 @@ implementation Add(' '+secname); secname:=''; end; - Add(' '+PadSpace(secname,18)+PadSpace(' 0x'+HexStr(p.mempos+FImageBase,sizeof(aint)*2),12)+ - ' 0x'+HexStr(p.size,sizeof(aint))+' '+p.objdata.name); + Add(' '+PadSpace(secname,18)+PadSpace(' 0x'+HexStr(p.mempos+FImageBase,sizeof(pint)*2),12)+ + ' 0x'+HexStr(p.size,sizeof(pint))+' '+p.objdata.name); end; procedure TExeMap.AddMemoryMapSymbol(p:TObjSymbol); begin { 0x00001e30 setup_screens } - Add(Space(20)+PadSpace('0x'+HexStr(p.address+Fimagebase,sizeof(aint)*2),25)+' '+p.name); + Add(Space(20)+PadSpace('0x'+HexStr(p.address+Fimagebase,sizeof(pint)*2),25)+' '+p.name); end; end. |