forked from Imagelibrary/binutils-gdb
PR gas/15602
* config/tc-m68k.h (TC_CHECK_ADJUSTED_BROKEN_DOT_WORD): Define. * config/tc-m68k.c (tc_m68k_check_adjusted_broken_word): New function. Generates an error if the adjusted offset is out of a 16-bit range.
This commit is contained in:
@@ -188,3 +188,9 @@ extern void tc_m68k_frame_initial_instructions (void);
|
||||
/* However, follow compiler's guidance when it specifies encoding for LSDA. */
|
||||
# define CFI_DIFF_LSDA_OK 1
|
||||
#endif
|
||||
|
||||
struct broken_word;
|
||||
#define TC_CHECK_ADJUSTED_BROKEN_DOT_WORD(new_offset, brokw) \
|
||||
tc_m68k_check_adjusted_broken_word ((offsetT) (new_offset), (brokw))
|
||||
extern void tc_m68k_check_adjusted_broken_word (offsetT,
|
||||
struct broken_word *);
|
||||
|
||||
Reference in New Issue
Block a user