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
This commit is contained in:
parent
d11c8e3c8e
commit
696ed5fdc4
|
@ -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 */
|
||||
#endif /* ARMV4_5_H */
|
||||
|
|
Loading…
Reference in New Issue