mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-26 13:03:42 +01:00
MIPS: fix symbol naming for mips_lock',
mips_local_resume', and `mips_local_addr_space_init'
Properly export the symbol names also on MIPS. `make check' was complaining: src/.libs/libunwind.a(Linit.o): In function `mips_local_addr_space_init': src/mips/Ginit.c:183: multiple definition of `mips_local_addr_space_init' ../src/.libs/libunwind-mips.a(Ginit.o):src/mips/Ginit.c:183: first defined here src/.libs/libunwind.a(Lglobal.o): In function `_ULmips_init': src/mips/Gglobal.c:42: multiple definition of `mips_lock' ../src/.libs/libunwind-mips.a(Gglobal.o):src/mips/Gglobal.c:42: first defined here collect2: ld returned 1 exit status
This commit is contained in:
parent
56f07a8e55
commit
80fc285599
1 changed files with 4 additions and 8 deletions
|
@ -32,16 +32,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
|
||||
#include "libunwind_i.h"
|
||||
|
||||
/*
|
||||
#define x86_lock UNW_OBJ(lock)
|
||||
#define x86_local_resume UNW_OBJ(local_resume)
|
||||
#define x86_local_addr_space_init UNW_OBJ(local_addr_space_init)
|
||||
#define x86_scratch_loc UNW_OBJ(scratch_loc)
|
||||
#define mips_lock UNW_OBJ(lock)
|
||||
#define mips_local_resume UNW_OBJ(local_resume)
|
||||
#define mips_local_addr_space_init UNW_OBJ(local_addr_space_init)
|
||||
|
||||
extern int x86_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,
|
||||
extern int mips_local_resume (unw_addr_space_t as, unw_cursor_t *cursor,
|
||||
void *arg);
|
||||
extern dwarf_loc_t x86_scratch_loc (struct cursor *c, unw_regnum_t reg);
|
||||
*/
|
||||
|
||||
extern void mips_local_addr_space_init (void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue