mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
tidy tilegx and tilepro MAX_MEM_FOR_RS_ALIGN_CODE
These weren't wrong, but should use the BUNDLE_SIZE macros, in case they ever change. * config/tc-tilegx.h (MAX_MEM_FOR_RS_ALIGN_CODE): Use TILEGX_BUNDLE_SIZE_IN_BYTES. * config/tc-tilepro.h (MAX_MEM_FOR_RS_ALIGN_CODE): Use TILEPRO_BUNDLE_SIZE_IN_BYTES.
This commit is contained in:
@@ -42,7 +42,8 @@ extern const char * tilegx_target_format (void);
|
||||
#define HANDLE_ALIGN(sec, fragp) tilegx_handle_align (fragp)
|
||||
extern void tilegx_handle_align (struct frag *);
|
||||
|
||||
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (7 + 8)
|
||||
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) \
|
||||
(2 * TILEGX_BUNDLE_SIZE_IN_BYTES - 1)
|
||||
|
||||
struct tilegx_operand;
|
||||
#define TC_FIX_TYPE const struct tilegx_operand *
|
||||
|
||||
@@ -42,7 +42,8 @@
|
||||
#define HANDLE_ALIGN(sec, fragp) tilepro_handle_align (fragp)
|
||||
extern void tilepro_handle_align (struct frag *);
|
||||
|
||||
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) (7 + 8)
|
||||
#define MAX_MEM_FOR_RS_ALIGN_CODE(p2align, max) \
|
||||
(2 * TILEPRO_BUNDLE_SIZE_IN_BYTES - 1)
|
||||
|
||||
struct tilepro_operand;
|
||||
#define TC_FIX_TYPE const struct tilepro_operand *
|
||||
|
||||
Reference in New Issue
Block a user