mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 14:19:31 +02:00
* Renamed a method for consistency (let script building methods start with ScriptAdd).
git-svn-id: trunk@21814 -
This commit is contained in:
parent
a553798151
commit
1a25aed68d
@ -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
|
||||
|
@ -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');
|
||||
|
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user