aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-23 08:08:48 +0000
committerAlan Modra <amodra@gmail.com>2002-05-23 08:08:48 +0000
commit18e1d4877373547c80bd8ac79a7884390f95f4a9 (patch)
tree54dc8c8f5a258a3981dd58f51b324f800359aa5c /gas/config/tc-sh.h
parent9d66a1d9d68238024e4accd78e82f3432c6292af (diff)
downloadfsf-binutils-gdb-18e1d4877373547c80bd8ac79a7884390f95f4a9.zip
fsf-binutils-gdb-18e1d4877373547c80bd8ac79a7884390f95f4a9.tar.gz
fsf-binutils-gdb-18e1d4877373547c80bd8ac79a7884390f95f4a9.tar.bz2
* 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.
Diffstat (limited to 'gas/config/tc-sh.h')
-rw-r--r--gas/config/tc-sh.h2
1 files changed, 1 insertions, 1 deletions
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 \