From 18e1d4877373547c80bd8ac79a7884390f95f4a9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 23 May 2002 08:08:48 +0000 Subject: * 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/config/obj-vms.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gas/config/obj-vms.h') diff --git a/gas/config/obj-vms.h b/gas/config/obj-vms.h index fa4f3bd..ac0794f 100644 --- a/gas/config/obj-vms.h +++ b/gas/config/obj-vms.h @@ -1,6 +1,6 @@ /* VMS object file format - Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000 - Free Software Foundation, Inc. + Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 2000, + 2002 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -33,8 +33,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA * Doing the alignment here (on initialized data) can * mess up the calculation of global data PSECT sizes. */ -#define SUB_SEGMENT_ALIGN(SEG) \ - (((SEG) == data_section) ? 0 : LONGWORD_ALIGNMENT) +#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \ + (((SEG) == data_section) ? 0 : LONGWORD_ALIGNMENT) /* This flag is used to remember whether we are in the const or the data section. By and large they are identical, but we set a no-write -- cgit v1.1