Skip to content

Commit

Permalink
Configuration arm-linux uses the hard-FP ABI
Browse files Browse the repository at this point in the history
Like all modern Linux distributions for ARM 32 bits.
  • Loading branch information
xavierleroy committed Dec 10, 2024
1 parent 9597352 commit de9f32a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ Supported targets:
ppc-eabi-diab (PowerPC, EABI with Diab tools)
ppc-linux (PowerPC, Linux)
arm-eabi (ARM, EABI, little endian)
arm-linux (ARM, EABI, little endian)
arm-eabihf (ARM, EABI using hardware FP registers, little endian)
arm-hardfloat (ARM, EABI using hardware FP registers, little endian)
arm-linux (ARM, EABI using hardware FP registers, little endian)
armeb-eabi (ARM, EABI, big endian)
armeb-linux (ARM, EABI, big endian)
armeb-eabihf (ARM, EABI using hardware FP registers, big endian)
armeb-hardfloat (ARM, EABI using hardware FP registers, big endian)
armeb-linux (ARM, EABI using hardware FP registers, big endian)
x86_32-linux (x86 32 bits, Linux)
x86_32-bsd (x86 32 bits, BSD)
x86_64-linux (x86 64 bits, Linux)
Expand Down Expand Up @@ -243,10 +241,10 @@ responsefile="gnu"
if test "$arch" = "arm"; then

case "$target" in
eabi|linux)
eabi)
abi="eabi"
;;
eabihf|hf|hardfloat)
eabihf|linux|hf|hardfloat)
abi="hardfloat"
;;
*)
Expand Down
2 changes: 1 addition & 1 deletion tools/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Configure() {
./configure $configopts -toolprefix aarch64-linux-gnu- aarch64-linux
;;
arm,linux)
./configure $configopts -toolprefix arm-linux-gnueabihf- arm-eabihf
./configure $configopts -toolprefix arm-linux-gnueabihf- arm-linux
;;
ppc,linux)
./configure $configopts -toolprefix powerpc-linux-gnu- ppc-linux
Expand Down

0 comments on commit de9f32a

Please sign in to comment.