summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-04-19 10:50:17 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-04-19 10:50:17 (EDT)
commit4b7710b5463c48d8a46d5c54650f4d0fc401ffc5 (patch)
tree27d1bdb931cbf3fe6fa66f1f8e647ae9b7be1a68
parent26439a3ee189e75d6e151b4f76d33def60611986 (diff)
Fix "invalid swi expression" error?
Building EGLIBC with the static GCC would result in an error such as this: /tmp/[...].s: Assembler messages: /tmp/[...].s:168: Error: invalid swi expression /tmp/[...].s:168: Error: value of 983045 too large for field of 2 byt es at 170 Apparently, it makes no sense for GCC to generate Thumb code with the ARM Architecture Procedure Call Standard (AAPCS).
-rw-r--r--temporary-bootstrap-builder-setup-cortexa8.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/temporary-bootstrap-builder-setup-cortexa8.txt b/temporary-bootstrap-builder-setup-cortexa8.txt
index c2e81d2..c0ae527 100644
--- a/temporary-bootstrap-builder-setup-cortexa8.txt
+++ b/temporary-bootstrap-builder-setup-cortexa8.txt
@@ -108,11 +108,10 @@ convenience; this has no effect on the target system.
> unset CXXFLAGS
> export BBL_HOST=$(echo ${MACHTYPE} | \
> sed "s/$(echo ${MACHTYPE} | cut -d - -f 2)/cross/")
- > export BBL_TARGET=arm-none-linux-gnu
- > export BBL_ABI=aapcs-linux
- > export BBL_GCCTGTOPTS="--with-arch=armv7-a --with-cpu=cortex-a8
- > --with-tune=cortex-a8 --with-mode=thumb --with-fpu=neon --with-float=hard
- > --with-abi=${BBL_ABI}"
+ > export BBL_TARGET=arm-cortex_a8-linux-gnu
+ > export BBL_GCCTGTOPTS='--with-arch=armv7-a --with-abi=aapcs-linux
+ > --with-cpu=cortex-a8 --with-tune=cortex-a8
+ > --with-fpu=neon --with-float=hard'
> EOF
$ source ~/.bash_profile