Skip to content
Snippets Groups Projects
Commit 696ed5fd authored by oharboe's avatar oharboe
Browse files

strange.... the code build and links w/Linux GCC target but fails w/arm-elf....

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
parent d11c8e3c
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment