* manual fixes to get .weak support in fixes

This commit is contained in:
florian 2022-04-18 23:00:40 +02:00
parent 0afa5dc4aa
commit be560dadf8

View File

@ -45,7 +45,8 @@ interface
AB_TEMP,
{ a global symbol that points to another global symbol and is only used
to allow indirect loading in case of packages and indirect imports }
AB_INDIRECT,AB_EXTERNAL_INDIRECT);
AB_INDIRECT,AB_EXTERNAL_INDIRECT,
AB_WEAK);
TAsmsymtype=(
AT_NONE,AT_FUNCTION,AT_DATA,AT_SECTION,AT_LABEL,
@ -80,7 +81,7 @@ interface
asmlabeltypeprefix : array[TAsmLabeltype] of char = ('j','a','d','l','f','t','c');
asmsymbindname : array[TAsmsymbind] of string[23] = ('none', 'external','common',
'local','global','weak external','private external','lazy','import','internal temp',
'indirect','external indirect');
'indirect','external indirect','weak');
asmsymbindindirect = [AB_INDIRECT,AB_EXTERNAL_INDIRECT];
type