mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 00:30:35 +02:00
* stabs don't write offset in n_value for non-local symbols that use
a relocation git-svn-id: trunk@4763 -
This commit is contained in:
parent
77272e9bcb
commit
2f72117c9e
@ -569,7 +569,7 @@ Implementation
|
||||
{$endif}
|
||||
Replace(result,'$ASM',maybequoted(AsmFileName));
|
||||
Replace(result,'$OBJ',maybequoted(ObjFileName));
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
@ -885,9 +885,7 @@ Implementation
|
||||
relocsym:=nil;
|
||||
end;
|
||||
if assigned(relocsym) and
|
||||
(relocsym.bind=AB_GLOBAL) and
|
||||
(nidx=N_Function) and
|
||||
(tf_use_function_relative_addresses in target_info.flags) then
|
||||
(relocsym.bind<>AB_LOCAL) then
|
||||
ofs:=0;
|
||||
ObjData.writestab(ofs,relocsym,byte(nidx),byte(nother),word(nline),pstr);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user