mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 22:49:37 +02:00
* don't align entries in string sections, gcc doesn't either
git-svn-id: trunk@14246 -
This commit is contained in:
parent
64b6700c61
commit
80499a1732
@ -166,7 +166,7 @@ function objcreatestringpoolentryintern(p: pchar; len: longint; pooltype: tconst
|
||||
pc[entry^.keylength]:=#0;
|
||||
|
||||
{ add the string to the approriate section }
|
||||
new_section(current_asmdata.asmlists[al_objc_pools],stringsec,strlab.name,sizeof(pint));
|
||||
new_section(current_asmdata.asmlists[al_objc_pools],stringsec,strlab.name,0);
|
||||
current_asmdata.asmlists[al_objc_pools].concat(Tai_label.Create(strlab));
|
||||
current_asmdata.asmlists[al_objc_pools].concat(Tai_string.Create_pchar(pc,entry^.keylength+1));
|
||||
Result := strlab;
|
||||
|
Loading…
Reference in New Issue
Block a user