On 64 bit architectures size_t is 8 bytes, thus it should use an 8 bytes
storage. Fix the sintrcnt/sintrnames specification. No MFC is previewed for this patch. Reported, reviewed and tested by: marcel Approved by: re (kib)
This commit is contained in:
parent
68b739cd6f
commit
732772c701
@ -207,13 +207,13 @@ intr_n = 1
|
||||
intr_n = intr_n + 1
|
||||
.endr
|
||||
EXPORT(sintrnames)
|
||||
.word INTRCNT_COUNT * INTRNAME_LEN
|
||||
data8 INTRCNT_COUNT * INTRNAME_LEN
|
||||
|
||||
.align 8
|
||||
EXPORT(intrcnt)
|
||||
.fill INTRCNT_COUNT, 8, 0
|
||||
EXPORT(sintrcnt)
|
||||
.word INTRCNT_COUNT
|
||||
data8 INTRCNT_COUNT * 8
|
||||
|
||||
.text
|
||||
// in0: image base
|
||||
|
@ -1140,13 +1140,21 @@ END(MipsFPTrap)
|
||||
intrnames:
|
||||
.space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
sintrnames:
|
||||
#ifdef __mips_n64
|
||||
.quad INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
#else
|
||||
.word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
#endif
|
||||
|
||||
.align 4
|
||||
intrcnt:
|
||||
.space INTRCNT_COUNT * 4 * 2
|
||||
sintrcnt:
|
||||
#ifdef __mips_n64
|
||||
.quad INTRCNT_COUNT * 4 * 2
|
||||
#else
|
||||
.word INTRCNT_COUNT * 4 * 2
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
@ -91,13 +91,13 @@ GLOBAL(esym)
|
||||
GLOBAL(intrnames)
|
||||
.space INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
GLOBAL(sintrnames)
|
||||
.word INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
.quad INTRCNT_COUNT * (MAXCOMLEN + 1) * 2
|
||||
|
||||
.align 4
|
||||
GLOBAL(intrcnt)
|
||||
.space INTRCNT_COUNT * 4 * 2
|
||||
GLOBAL(sintrcnt)
|
||||
.word INTRCNT_COUNT * 4 * 2
|
||||
.quad INTRCNT_COUNT * 4 * 2
|
||||
|
||||
.text
|
||||
.globl btext
|
||||
|
@ -375,13 +375,13 @@ END(rsf_fatal)
|
||||
intrnames:
|
||||
.space IV_MAX * (MAXCOMLEN + 1)
|
||||
sintrnames:
|
||||
.word IV_MAX * (MAXCOMLEN + 1)
|
||||
.quad IV_MAX * (MAXCOMLEN + 1)
|
||||
|
||||
.globl intrcnt, sintrcnt
|
||||
intrcnt:
|
||||
.space IV_MAX * 8
|
||||
sintrcnt:
|
||||
.word IV_MAX * 8
|
||||
.quad IV_MAX * 8
|
||||
|
||||
.text
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user