MIPS: Fix handling of spare long-range jump slots.

Contributed by Djordje Kovacevic and Stefan Pejic.
This commit is contained in:
Mike Pall
2017-06-07 19:36:46 +02:00
parent 7381b62035
commit c7c3c4da43
3 changed files with 11 additions and 10 deletions

View File

@@ -155,6 +155,12 @@ typedef uint8_t MCode;
typedef uint32_t MCode;
#endif
/* Linked list of MCode areas. */
typedef struct MCLink {
MCode *next; /* Next area. */
size_t size; /* Size of current area. */
} MCLink;
/* Stack snapshot header. */
typedef struct SnapShot {
uint16_t mapofs; /* Offset into snapshot map. */