mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
gas/SH: respect --no-pad-sections
This is once again just so the target won't need excluding in a forthcoming new testcase, which requires no padding at the end of at least some of the sections.
This commit is contained in:
@@ -138,7 +138,8 @@ extern void sh_frob_file (void);
|
||||
|
||||
/* We align most sections to a 16 byte boundary. */
|
||||
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \
|
||||
(startswith (SEG_NAME (SEG), ".stabstr") \
|
||||
((startswith (SEG_NAME (SEG), ".stabstr") \
|
||||
|| do_not_pad_sections_to_alignment) \
|
||||
? 0 \
|
||||
: ((startswith (SEG_NAME (SEG), ".stab") \
|
||||
|| strcmp (SEG_NAME (SEG), ".ctors") == 0 \
|
||||
|
||||
Reference in New Issue
Block a user