aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m88k.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-m88k.h
parent9d66a1d9d68238024e4accd78e82f3432c6292af (diff)
downloadgdb-18e1d4877373547c80bd8ac79a7884390f95f4a9.zip
gdb-18e1d4877373547c80bd8ac79a7884390f95f4a9.tar.gz
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-m88k.h')
-rw-r--r--gas/config/tc-m88k.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-m88k.h b/gas/config/tc-m88k.h
index ee85605..5b0a835 100644
--- a/gas/config/tc-m88k.h
+++ b/gas/config/tc-m88k.h
@@ -1,8 +1,8 @@
/* m88k.h -- Assembler for the Motorola 88000
Contributed by Devon Bowen of Buffalo University
and Torbjorn Granlund of the Swedish Institute of Computer Science.
- 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.
@@ -98,7 +98,7 @@ struct reloc_info_m88k
#ifndef max
#define max(a,b) (((a) > (b)) ? (a) : (b))
#endif
-#define SUB_SEGMENT_ALIGN(SEG) max (section_alignment[(int) (SEG)], 4)
+#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) max (section_alignment[(int) (SEG)], 4)
/* Fill in rs_align_code fragments. */
extern void m88k_handle_align PARAMS ((fragS *));