mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
* fix import linking under linux
This commit is contained in:
parent
90fc5f1c54
commit
dab938e084
@ -1101,8 +1101,7 @@ implementation
|
||||
if is_assembler_generated then
|
||||
insertobjectfile
|
||||
else
|
||||
if not (current_module.uses_imports) then
|
||||
current_module.flags:=current_module.flags or uf_no_link;
|
||||
current_module.flags:=current_module.flags or uf_no_link;
|
||||
|
||||
if cs_local_browser in aktmoduleswitches then
|
||||
current_module.localsymtable:=refsymtable;
|
||||
@ -1445,7 +1444,10 @@ So, all parameters are passerd into registers in sparc architecture.}
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.96 2003-02-19 22:00:14 daniel
|
||||
Revision 1.97 2003-03-17 13:36:39 peter
|
||||
* fix import linking under linux
|
||||
|
||||
Revision 1.96 2003/02/19 22:00:14 daniel
|
||||
* Code generator converted to new register notation
|
||||
- Horribily outdated todo.txt removed
|
||||
|
||||
|
@ -279,8 +279,7 @@ var
|
||||
begin
|
||||
libname:=FixFileName(s+'.ao2');
|
||||
seq_no:=1;
|
||||
current_module.linkunitstaticlibs.add(libname,link_allways);
|
||||
current_module.flags:=current_module.flags or uf_static_linked;
|
||||
current_module.linkotherstaticlibs.add(libname,link_allways);
|
||||
assign(out_file,current_module.outputpath^+libname);
|
||||
rewrite(out_file,1);
|
||||
blockwrite(out_file,ar_magic,sizeof(ar_magic));
|
||||
@ -517,7 +516,10 @@ initialization
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.3 2002-12-01 16:19:16 carl
|
||||
Revision 1.4 2003-03-17 13:36:39 peter
|
||||
* fix import linking under linux
|
||||
|
||||
Revision 1.3 2002/12/01 16:19:16 carl
|
||||
* fix compilation problems
|
||||
|
||||
Revision 1.2 2002/12/01 13:20:33 hajny
|
||||
|
Loading…
Reference in New Issue
Block a user