mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 05:45:59 +02:00
* Handle vo_has_section for constants
git-svn-id: trunk@17900 -
This commit is contained in:
parent
e6b5ce8557
commit
a45b29911c
@ -1483,7 +1483,10 @@ implementation
|
||||
|
||||
{ only now add items based on the symbolname, because it may }
|
||||
{ have been modified by the directives parsed above }
|
||||
new_section(list,cursectype,lower(sym.mangledname),const_align(sym.vardef.alignment));
|
||||
if vo_has_section in sym.varoptions then
|
||||
new_section(list,sec_user,sym.section,const_align(sym.vardef.alignment))
|
||||
else
|
||||
new_section(list,cursectype,lower(sym.mangledname),const_align(sym.vardef.alignment));
|
||||
if (sym.owner.symtabletype=globalsymtable) or
|
||||
create_smartlink or
|
||||
(assigned(current_procinfo) and
|
||||
|
Loading…
Reference in New Issue
Block a user