projects
/
fpc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bcd0f
)
Add tags to make armhf binaries come out correctly.
author
Peter Michael Green
<plugwash@debian.org>
Sat, 7 Jan 2023 12:07:32 +0000
(12:07 +0000)
committer
Abou Al Montacir
<abou.almontacir@sfr.fr>
Sat, 7 Jan 2023 12:07:32 +0000
(12:07 +0000)
Bug-Debian: https://bugs.debian.org/695547
Add elf tag to mark hardfp binaries as such. (Closes: 695547)
Gbp-Pq: Name armhf-tags.patch
fpcsrc/compiler/arm/agarmgas.pas
patch
|
blob
|
history
diff --git
a/fpcsrc/compiler/arm/agarmgas.pas
b/fpcsrc/compiler/arm/agarmgas.pas
index 386a41f04818ff9366154e1c1b3f623f3f47f513..2b4c369cafe3f96be58f07d24f58513f74ac6753 100644
(file)
--- a/
fpcsrc/compiler/arm/agarmgas.pas
+++ b/
fpcsrc/compiler/arm/agarmgas.pas
@@
-139,6
+139,8
@@
unit agarmgas;
inherited WriteExtraHeader;
if TArmInstrWriter(InstrWriter).unified_syntax then
writer.AsmWriteLn(#9'.syntax unified');
+ if target_info.abi = abi_eabihf then
+ writer.AsmWriteLn(#9'.eabi_attribute 28, 1 @Tag_ABI_VFP_args');
end;
{****************************************************************************}