force-abi-tags-in-cprt0
authorPascal Packaging Team <pkg-pascal-devel@lists.alioth.debian.org>
Sun, 24 Dec 2023 10:36:38 +0000 (10:36 +0000)
committerRaspbian forward porter <root@raspbian.org>
Sun, 24 Dec 2023 10:36:38 +0000 (10:36 +0000)
Set ABI tags in cprt0.as to work around binutils fussiness

This should not be pushed upstream or to Debian as it will almost certainly
break things on soft float targets.

Gbp-Pq: Name force-abi-tags-in-cprt0.patch

fpcsrc/rtl/linux/arm/cprt0.as

index f2c2ddf15c15d2b18b83816ff7a5e59c9329275e..448cae4e8a98a2f9021c93d0026a0a15cf61c7aa 100644 (file)
@@ -146,3 +146,6 @@ __data_start:
 3:      .align 4
 
 .section .note.GNU-stack,"",%progbits
+
+.eabi_attribute 28, 1 @Tag_ABI_VFP_args
+.eabi_attribute 10, 2 @Tag_FP_arch