diff options
author | bnewbold <bnewbold@robocracy.org> | 2010-08-19 16:53:56 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-08-19 16:53:56 -0400 |
commit | 5f11e12d66ce65e8be2b695ece6f35c2889d2aa2 (patch) | |
tree | 08e1691addf52f0970a7fdcfcdd1e1d9a1ebc5fb | |
parent | 6d8b91106fd952f45ff26f85dc9bd12ecb362652 (diff) | |
download | librambutan-5f11e12d66ce65e8be2b695ece6f35c2889d2aa2.tar.gz librambutan-5f11e12d66ce65e8be2b695ece6f35c2889d2aa2.zip |
added libm.a to linker scripts to fix sqrt() bug
Fixes a bug noted by several users when using math functions like cos(),
sqrt(), etc in the Maple IDE. This bug did not seem to affect Makefile
compiles.
-rw-r--r-- | support/ld/flash.ld | 2 | ||||
-rw-r--r-- | support/ld/jtag.ld | 2 | ||||
-rw-r--r-- | support/ld/ram.ld | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/support/ld/flash.ld b/support/ld/flash.ld index b66bdef..2043649 100644 --- a/support/ld/flash.ld +++ b/support/ld/flash.ld @@ -33,7 +33,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") ENTRY(_start)
SEARCH_DIR(.)
/* GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3-lanchon-stm32) */
-GROUP(libgcc.a libc.a libcs3-lanchon-stm32.a)
+GROUP(libgcc.a libc.a libm.a libcs3-lanchon-stm32.a)
/* These force the linker to search for particular symbols from
* the start of the link process and thus ensure the user's
diff --git a/support/ld/jtag.ld b/support/ld/jtag.ld index 67fbe85..3823f4d 100644 --- a/support/ld/jtag.ld +++ b/support/ld/jtag.ld @@ -16,7 +16,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") ENTRY(_start)
SEARCH_DIR(.)
/* GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3-lanchon-stm32) */
-GROUP(libgcc.a libc.a libcs3-lanchon-stm32.a)
+GROUP(libgcc.a libc.a libm.a libcs3-lanchon-stm32.a)
/* These force the linker to search for particular symbols from
* the start of the link process and thus ensure the user's
diff --git a/support/ld/ram.ld b/support/ld/ram.ld index 6398ea4..59aaeda 100644 --- a/support/ld/ram.ld +++ b/support/ld/ram.ld @@ -34,7 +34,7 @@ OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") ENTRY(_start)
SEARCH_DIR(.)
/* GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3-lanchon-stm32) */
-GROUP(libgcc.a libc.a libcs3-lanchon-stm32.a)
+GROUP(libgcc.a libc.a libm.a libcs3-lanchon-stm32.a)
/* These force the linker to search for particular symbols from
* the start of the link process and thus ensure the user's
|