From: Martin Schwidefsky Date: Tue, 2 Jul 2002 09:05:51 +0000 (+0000) Subject: 2002-07-02 Martin Schwidefsky X-Git-Tag: binutils-2_13-branchpoint~134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99881371eb4a78527f3e00841833eca312f218a7;p=platform%2Fupstream%2Fbinutils.git 2002-07-02 Martin Schwidefsky * elf64-s390.c (create_got_section): Set .got section alignment to 8 bytes. (elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9878c0e417f..3098e0b8d7e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2002-07-02 Martin Schwidefsky + + * elf64-s390.c (create_got_section): Set .got section alignment to + 8 bytes. + (elf_s390_check_relocs): Set .rela.dyn section alignment to 8 bytes. + 2002-07-02 Alan Modra * elf.c (_bfd_elf_reloc_type_class): Fix comment grammar. diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c index 0934bfbf9f5..c4e4f6891f9 100644 --- a/bfd/elf64-s390.c +++ b/bfd/elf64-s390.c @@ -471,7 +471,7 @@ create_got_section (dynobj, info) (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS | SEC_IN_MEMORY | SEC_LINKER_CREATED | SEC_READONLY)) - || ! bfd_set_section_alignment (dynobj, htab->srelgot, 2)) + || ! bfd_set_section_alignment (dynobj, htab->srelgot, 3)) return false; return true; } @@ -776,7 +776,7 @@ elf_s390_check_relocs (abfd, info, sec, relocs) flags |= SEC_ALLOC | SEC_LOAD; if (sreloc == NULL || ! bfd_set_section_flags (dynobj, sreloc, flags) - || ! bfd_set_section_alignment (dynobj, sreloc, 2)) + || ! bfd_set_section_alignment (dynobj, sreloc, 3)) return false; } elf_section_data (sec)->sreloc = sreloc;