diff options
author | Alan Modra <amodra@gmail.com> | 2002-05-23 08:08:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-05-23 08:08:48 +0000 |
commit | 18e1d4877373547c80bd8ac79a7884390f95f4a9 (patch) | |
tree | 54dc8c8f5a258a3981dd58f51b324f800359aa5c /gas/config/obj-vms.h | |
parent | 9d66a1d9d68238024e4accd78e82f3432c6292af (diff) | |
download | gdb-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/obj-vms.h')
-rw-r--r-- | gas/config/obj-vms.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |