From 9336389d378d0e0179e3bbc92f786a2a3f3bd6f5 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 May 2001 23:54:21 -0700 Subject: [PATCH] iris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment. * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the section pointer alignment. From-SVN: r42484 --- gcc/ChangeLog | 3 +++ gcc/config/mips/iris6.h | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 74fbb11fa9e..19216816c1d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2001-05-22 Richard Henderson + * config/mips/iris6.h (EH_FRAME_SECTION_ASM_OP): Give the + section pointer alignment. + * doc/install.texi (alpha-linux): Require binutils >= 2.10. * unwind-dw2-fde.c (__deregister_frame_info): Stringize use diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h index 626991db881..fdde59cb02d 100644 --- a/gcc/config/mips/iris6.h +++ b/gcc/config/mips/iris6.h @@ -270,9 +270,12 @@ Boston, MA 02111-1307, USA. */ #if _MIPS_SZPTR == 64 #define CTORS_SECTION_ASM_OP "\t.section\t.ctors,1,2,0,8" #define DTORS_SECTION_ASM_OP "\t.section\t.dtors,1,2,0,8" +#define EH_FRAME_SECTION_ASM_OP "\t.section\t.eh_frame,1,2,0,8" #else /* _MIPS_SZPTR != 64 */ #define CTORS_SECTION_ASM_OP "\t.section\t.ctors,1,2,0,4" #define DTORS_SECTION_ASM_OP "\t.section\t.dtors,1,2,0,4" +#define EH_FRAME_SECTION_ASM_OP "\t.section\t.eh_frame,1,2,0,4" + #endif /* _MIPS_SZPTR == 64 */ #else /* ! (defined (CRT_BEGIN) || defined (CRT_END)) */ @@ -282,12 +285,10 @@ Boston, MA 02111-1307, USA. */ (Pmode == DImode ? "\t.section\t.ctors,1,2,0,8" : "\t.section\t.ctors,1,2,0,4") #define DTORS_SECTION_ASM_OP \ (Pmode == DImode ? "\t.section\t.dtors,1,2,0,8" : "\t.section\t.dtors,1,2,0,4") +#define EH_FRAME_SECTION_ASM_OP \ + (Pmode == DImode ? "\t.section\t.eh_frame,1,2,0,8" : "\t.section\t.eh_frame,1,2,0,4") #endif /* defined (CRT_BEGIN) || defined (CRT_END) */ -/* dwarf2out will handle padding this data properly. We definitely don't - want it 8-byte aligned on n32. */ -#define EH_FRAME_SECTION_ASM_OP "\t.section\t.eh_frame,1,2,0,1" - /* A default list of other sections which we might be "in" at any given time. For targets that use additional sections (e.g. .tdesc) you should override this definition in the target-specific file which -- 2.30.2