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/tc-sh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-sh.h') diff --git a/gas/config/tc-sh.h b/gas/config/tc-sh.h index 313ac88..ffe948a 100644 --- a/gas/config/tc-sh.h +++ b/gas/config/tc-sh.h @@ -152,7 +152,7 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *)); #endif /* We align most sections to a 16 byte boundary. */ -#define SUB_SEGMENT_ALIGN(SEG) \ +#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) \ (strncmp (SEG_NAME (SEG), ".stabstr", 8) == 0 \ ? 0 \ : ((strncmp (SEG_NAME (SEG), ".stab", 5) == 0 \ -- cgit v1.1