]> git.sur5r.net Git - openocd/commitdiff
strange.... the code build and links w/Linux GCC target but fails w/arm-elf. The...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 25 Aug 2009 07:17:19 +0000 (07:17 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 25 Aug 2009 07:17:19 +0000 (07:17 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@2616 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/armv7a.h

index b082e0d5d5d19c39bcb493a8236d8d1f22dd0035..d92e5bca05e04d149d1a5877597c5e2b76dbf0fd 100644 (file)
@@ -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 */