summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-25 07:17:19 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-25 07:17:19 +0000
commit696ed5fdc40a5a02ffe3aeda37a6aa9563089784 (patch)
tree0023ee83d65a3a1c49395e5f70d31d2917022522 /src/target
parentd11c8e3c8e09e0c2c48a75e9e912f756e99a9f67 (diff)
downloadopenocd_libswd-696ed5fdc40a5a02ffe3aeda37a6aa9563089784.tar.gz
openocd_libswd-696ed5fdc40a5a02ffe3aeda37a6aa9563089784.tar.bz2
openocd_libswd-696ed5fdc40a5a02ffe3aeda37a6aa9563089784.tar.xz
openocd_libswd-696ed5fdc40a5a02ffe3aeda37a6aa9563089784.zip
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
Diffstat (limited to 'src/target')
-rw-r--r--src/target/armv7a.h6
1 files 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 */