* Renamed a method for consistency (let script building methods start with ScriptAdd).

git-svn-id: trunk@21814 -
This commit is contained in:
sergei 2012-07-07 22:49:05 +00:00
parent a553798151
commit 1a25aed68d
3 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ interface
property StaticLibraryList:TFPHashObjectList read FStaticLibraryList;
property ImportLibraryList:TFPHashObjectList read FImportLibraryList;
procedure DefaultLinkScript;virtual;abstract;
procedure ConcatGenericSections(secnames:string);
procedure ScriptAddGenericSections(secnames:string);
procedure ScriptAddSourceStatements(AddSharedAsStatic:boolean);virtual;
public
IsSharedLibrary : boolean;
@ -1375,7 +1375,7 @@ Implementation
end;
procedure TInternalLinker.ConcatGenericSections(secnames:string);
procedure TInternalLinker.ScriptAddGenericSections(secnames:string);
var
secname:string;
begin

View File

@ -164,7 +164,7 @@ implementation
Concat(' OBJSECTION .stabstr');
Concat('ENDEXESECTION');
{ DWARF 2 }
ConcatGenericSections('.debug_aranges,.debug_pubnames,.debug_info,.debug_abbrev,'+
ScriptAddGenericSections('.debug_aranges,.debug_pubnames,.debug_info,.debug_abbrev,'+
'.debug_line,.debug_frame,.debug_str,.debug_loc,.debug_macinfo');
Concat('STABS');
Concat('SYMBOLS');

View File

@ -1058,7 +1058,7 @@ implementation
Concat(' OBJSECTION .idata$6*');
Concat(' OBJSECTION .idata$7*');
Concat('ENDEXESECTION');
ConcatGenericSections('.edata,.rsrc,.reloc,.gnu_debuglink,'+
ScriptAddGenericSections('.edata,.rsrc,.reloc,.gnu_debuglink,'+
'.debug_aranges,.debug_pubnames,.debug_info,.debug_abbrev,.debug_line,.debug_frame,.debug_str,.debug_loc,'+
'.debug_macinfo,.debug_weaknames,.debug_funcnames,.debug_typenames,.debug_varnames,.debug_ranges');
{ Can't use the generic rules, because that will add also .stabstr to .stab }