diff options
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 42f2d90..a38b8e1 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -249,9 +249,12 @@ arm_min (int am_p1, int am_p2) #define TC_FRAG_INIT(fragp) arm_init_frag (fragp, max_chars) #define TC_ALIGN_ZERO_IS_DEFAULT 1 #define HANDLE_ALIGN(fragp) arm_handle_align (fragp) -#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \ +/* PR gas/19276: COFF/PE segment alignment is already handled in coff_frob_section(). */ +#ifndef TE_PE +#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \ ((!(FRCHAIN)->frch_next && subseg_text_p (SEG)) \ ? arm_min (2, get_recorded_alignment (SEG)) : 0) +#endif #define md_do_align(N, FILL, LEN, MAX, LABEL) \ if (FILL == NULL && (N) != 0 && ! need_pass_2 && subseg_text_p (now_seg)) \ |