* write.c (size_seg): Check adjustment to last frag.
authorAlan Modra <amodra@gmail.com>
Thu, 23 May 2002 08:08:48 +0000 (08:08 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 23 May 2002 08:08:48 +0000 (08:08 +0000)
commit18e1d4877373547c80bd8ac79a7884390f95f4a9
tree54dc8c8f5a258a3981dd58f51b324f800359aa5c
parent9d66a1d9d68238024e4accd78e82f3432c6292af
* write.c (size_seg): Check adjustment to last frag.
(SUB_SEGMENT_ALIGN): If HANDLE_ALIGN defined, pad out last frag to
section alignment.
* config/obj-coff.c (SUB_SEGMENT_ALIGN): Likewise.
* config/obj-ieee.c (SUB_SEGMENT_ALIGN): Likewise.
(write_object_file): Invoke md_do_align if available, and use
frag_align_code on text sections.
* config/obj-vms.h (SUB_SEGMENT_ALIGN): Now two args.
* config/tc-m88k.h (SUB_SEGMENT_ALIGN): Likewise.
* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Likewise.
* config/tc-sh.h (SUB_SEGMENT_ALIGN): Likewise.
* config/tc-i386.h (SUB_SEGMENT_ALIGN): Likewise.  Define for
BFD_ASSEMBLER too.
gas/ChangeLog
gas/config/obj-coff.c
gas/config/obj-ieee.c
gas/config/obj-vms.h
gas/config/tc-i386.h
gas/config/tc-m88k.h
gas/config/tc-ppc.h
gas/config/tc-sh.h
gas/write.c