diff options
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r-- | gas/config/tc-i386.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 7aae7a3..cda7166 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -183,6 +183,16 @@ extern int tc_i386_fix_adjustable (struct fix *); || (FIX)->fx_r_type == BFD_RELOC_X86_64_REX_GOTPCRELX \ || (FIX)->fx_r_type == BFD_RELOC_X86_64_CODE_4_GOTPCRELX) +extern void i386_start_line (void); +#define md_start_line_hook i386_start_line + +extern bool i386_check_label (void); +#define TC_START_LABEL(STR, NUL_CHAR, NEXT_CHAR) \ + (NEXT_CHAR == ':' && i386_check_label ()) + +extern int i386_unrecognized_line (int); +#define tc_unrecognized_line i386_unrecognized_line + extern int i386_parse_name (char *, expressionS *, char *); #define md_parse_name(s, e, m, c) i386_parse_name (s, e, c) @@ -441,20 +451,20 @@ extern bool x86_scfi_callee_saved_p (uint32_t dw2reg_num); extern bool x86_support_sframe_p (void); #define support_sframe_p x86_support_sframe_p -/* The stack-pointer register number for SFrame stack trace info. */ +/* The stack pointer DWARF register number for SFrame CFA tracking. */ extern unsigned int x86_sframe_cfa_sp_reg; #define SFRAME_CFA_SP_REG x86_sframe_cfa_sp_reg -/* The frame-pointer register number for SFrame stack trace info. */ +/* The frame pointer DWARF register number for SFrame CFA and FP tracking. */ extern unsigned int x86_sframe_cfa_fp_reg; #define SFRAME_CFA_FP_REG x86_sframe_cfa_fp_reg -/* Specify if RA tracking is needed. */ +/* Whether SFrame return address tracking is needed. */ extern bool x86_sframe_ra_tracking_p (void); #define sframe_ra_tracking_p x86_sframe_ra_tracking_p -/* Specify the fixed offset to recover RA from CFA. - (useful only when RA tracking is not needed). */ +/* The fixed offset from CFA for SFrame to recover the return address. + (useful only when SFrame RA tracking is not needed). */ extern offsetT x86_sframe_cfa_ra_offset (void); #define sframe_cfa_ra_offset x86_sframe_cfa_ra_offset |