summaryrefslogtreecommitdiff
path: root/testing/examples/STR710Test/prj
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-01-20 15:11:09 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-01-20 15:12:31 +0100
commit87cb29dcfe1e6900620319c3f90ed67f8ebefa0e (patch)
treeb4166b4ab9cac37169bf8aa0204778970738ab62 /testing/examples/STR710Test/prj
parentff976cdb29686ae9aa47687c35402c66978956d6 (diff)
downloadopenocd_libswd-87cb29dcfe1e6900620319c3f90ed67f8ebefa0e.tar.gz
openocd_libswd-87cb29dcfe1e6900620319c3f90ed67f8ebefa0e.tar.bz2
openocd_libswd-87cb29dcfe1e6900620319c3f90ed67f8ebefa0e.tar.xz
openocd_libswd-87cb29dcfe1e6900620319c3f90ed67f8ebefa0e.zip
testing: fix str710 test case now builds
Make the test case easily adjustable in size. str710 has very peculiar flash sector layout, nice for testing, but a larget test_rom.elf is required. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'testing/examples/STR710Test/prj')
-rw-r--r--testing/examples/STR710Test/prj/hitex_str7_ram.ld12
-rw-r--r--testing/examples/STR710Test/prj/hitex_str7_rom.ld12
2 files changed, 12 insertions, 12 deletions
diff --git a/testing/examples/STR710Test/prj/hitex_str7_ram.ld b/testing/examples/STR710Test/prj/hitex_str7_ram.ld
index 7ea221a6..a0b2a3c6 100644
--- a/testing/examples/STR710Test/prj/hitex_str7_ram.ld
+++ b/testing/examples/STR710Test/prj/hitex_str7_ram.ld
@@ -82,17 +82,17 @@ SECTIONS
{
*(.init)
*(.fini)
- PROVIDE_HIDDEN (__preinit_array_start = .);
+ PROVIDE (__preinit_array_start = .);
KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
+ PROVIDE (__preinit_array_end = .);
+ PROVIDE (__init_array_start = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
+ PROVIDE (__init_array_end = .);
+ PROVIDE (__fini_array_start = .);
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
+ PROVIDE (__fini_array_end = .);
} >DATA
. = ALIGN(4);
diff --git a/testing/examples/STR710Test/prj/hitex_str7_rom.ld b/testing/examples/STR710Test/prj/hitex_str7_rom.ld
index c5c4de48..11ac4b62 100644
--- a/testing/examples/STR710Test/prj/hitex_str7_rom.ld
+++ b/testing/examples/STR710Test/prj/hitex_str7_rom.ld
@@ -83,17 +83,17 @@ SECTIONS
{
*(.init)
*(.fini)
- PROVIDE_HIDDEN (__preinit_array_start = .);
+ PROVIDE (__preinit_array_start = .);
KEEP (*(.preinit_array))
- PROVIDE_HIDDEN (__preinit_array_end = .);
- PROVIDE_HIDDEN (__init_array_start = .);
+ PROVIDE (__preinit_array_end = .);
+ PROVIDE (__init_array_start = .);
KEEP (*(SORT(.init_array.*)))
KEEP (*(.init_array))
- PROVIDE_HIDDEN (__init_array_end = .);
- PROVIDE_HIDDEN (__fini_array_start = .);
+ PROVIDE (__init_array_end = .);
+ PROVIDE (__fini_array_start = .);
KEEP (*(.fini_array))
KEEP (*(SORT(.fini_array.*)))
- PROVIDE_HIDDEN (__fini_array_end = .);
+ PROVIDE (__fini_array_end = .);
} >CODE
. = ALIGN(4);