mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
visium MAX_MEM_FOR_RS_ALIGN_CODE
Commit7ca6020a4e"tidy target HANDLE_ALIGN" didn't account for the "fix" amount emitted by visium_handle_align. This didn't show up as a problem due to frag alignment hiding the error, until I started messing with struct frag. * config/tc-visium.h (MAX_MEM_FOR_RS_ALIGN_CODE): Correct. (cherry picked from commit74fe8e29dc)
This commit is contained in:
@@ -45,7 +45,7 @@
|
|||||||
#define tc_fix_adjustable(FIXP) visium_fix_adjustable (FIXP)
|
#define tc_fix_adjustable(FIXP) visium_fix_adjustable (FIXP)
|
||||||
extern bool visium_fix_adjustable (struct fix *);
|
extern bool visium_fix_adjustable (struct fix *);
|
||||||
|
|
||||||
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (4 + 1)
|
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (3 + 4 + 1)
|
||||||
#define HANDLE_ALIGN(SEC, FRAGP) \
|
#define HANDLE_ALIGN(SEC, FRAGP) \
|
||||||
if ((FRAGP)->fr_type == rs_align_code) \
|
if ((FRAGP)->fr_type == rs_align_code) \
|
||||||
visium_handle_align (FRAGP);
|
visium_handle_align (FRAGP);
|
||||||
|
|||||||
Reference in New Issue
Block a user