summaryrefslogtreecommitdiff
path: root/arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p
diff options
context:
space:
mode:
authorJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 19:31:20 +0000
committerJohn-Mark Bell <jmb@netsurf-browser.org>2022-11-03 19:31:20 +0000
commitfe903c0d9292cf54f44ef3ee6054a1377f2655d1 (patch)
tree61bc5863eac1339efe365400e49960471fbceca3 /arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p
parentd1ed006979f5bf00369b8e15baa61152ff69a262 (diff)
downloadtoolchains-fe903c0d9292cf54f44ef3ee6054a1377f2655d1.tar.gz
toolchains-fe903c0d9292cf54f44ef3ee6054a1377f2655d1.tar.bz2
Drop "hf" from arm-riscos-gnueabihf ABI triplet
The way we configure this toolchain means that it will generate Risc PC-compatible ARMv4 binaries using the soft-float ABI. These are not compatible with the ARMv7 hard-float binaries produced by the upstream compiler, so change the triplet to avoid confusion.
Diffstat (limited to 'arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p')
-rw-r--r--arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p13
1 files changed, 13 insertions, 0 deletions
diff --git a/arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p b/arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p
new file mode 100644
index 0000000..73a9abe
--- /dev/null
+++ b/arm-riscos-gnueabi/recipes/patches/gccsdk/roinstall-objdump-name.p
@@ -0,0 +1,13 @@
+Index: ro-install
+===================================================================
+--- ro-install (revision 7698)
++++ ro-install (working copy)
+@@ -72,7 +72,7 @@
+
+ # Check that static libraries really do contain static objects
+ if grep -q "\.a\$" <<< $param || grep -q "\.a-static" <<< $param ; then
+- if GCCSDK_BIN/arm-unknown-riscos-objdump -p $param | grep -q "position independent"; then
++ if GCCSDK_BIN/arm-riscos-gnueabi-objdump -p $param | grep -q "position independent"; then
+ echo "RISC OS Cross installer: static archive $param contains position independent code" 1>&2
+ exit 1
+ fi