-
- Downloads
Add command line option to stop the assembler from padding the end of sections...
Add command line option to stop the assembler from padding the end of sections to their alignment boundary. PR gas/20247 * as.h (do_not_pad_sections_to_alignment): New global variable. * as.c (show_usage): Add --no-pad-sections. (parse_args): Likewise. * write.c (size_seg): Skip padding the end of the section if requested from the command line. (SUB_SEGMENT_ALIGN): Likewise. * doc/as.texinfo: Document the new option. * NEWS: Mention the new feature. * testsuite/gas/elf/section11.s: New test. * testsuite/gas/elf/section11.d: New test driver. * testsuite/gas/elf/elf.exp: Run the new test.
Showing
- gas/NEWS 3 additions, 0 deletionsgas/NEWS
- gas/as.c 9 additions, 1 deletiongas/as.c
- gas/as.h 4 additions, 2 deletionsgas/as.h
- gas/doc/as.texinfo 17 additions, 1 deletiongas/doc/as.texinfo
- gas/testsuite/gas/elf/elf.exp 1 addition, 0 deletionsgas/testsuite/gas/elf/elf.exp
- gas/testsuite/gas/elf/section11.d 13 additions, 0 deletionsgas/testsuite/gas/elf/section11.d
- gas/testsuite/gas/elf/section11.s 14 additions, 0 deletionsgas/testsuite/gas/elf/section11.s
- gas/write.c 8 additions, 2 deletionsgas/write.c
Loading
Please register or sign in to comment