From 696ed5fdc40a5a02ffe3aeda37a6aa9563089784 Mon Sep 17 00:00:00 2001 From: oharboe Date: Tue, 25 Aug 2009 07:17:19 +0000 Subject: strange.... the code build and links w/Linux GCC target but fails w/arm-elf. The code was clearly broken as it was missing two extern's in the .h file... git-svn-id: svn://svn.berlios.de/openocd/trunk@2616 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/target/armv7a.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/armv7a.h b/src/target/armv7a.h index b082e0d5..d92e5bca 100644 --- a/src/target/armv7a.h +++ b/src/target/armv7a.h @@ -40,7 +40,7 @@ typedef enum armv7a_mode ARMV7A_MODE_ANY = -1 } armv7a_t; -char **armv7a_mode_strings; +extern char **armv7a_mode_strings; typedef enum armv7a_state { @@ -52,7 +52,7 @@ typedef enum armv7a_state extern char *armv7a_state_strings[]; -int armv7a_core_reg_map[8][17]; +extern int armv7a_core_reg_map[8][17]; #define ARMV7A_CORE_REG_MODE(cache, mode, num) \ cache->reg_list[armv7a_core_reg_map[armv7a_mode_to_number(mode)][num]] @@ -173,4 +173,4 @@ static inline enum armv7a_mode armv7a_number_to_mode(int number) }; -#endif /* ARMV4_5_H */ \ No newline at end of file +#endif /* ARMV4_5_H */ -- cgit v1.2.3