2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>

* 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.
This commit is contained in:
Martin Schwidefsky 2002-07-02 09:05:51 +00:00
parent 148b4c7a2b
commit 99881371eb
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2002-07-02 Martin Schwidefsky <schwidefsky@de.ibm.com>
* 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 <amodra@bigpond.net.au>
* elf.c (_bfd_elf_reloc_type_class): Fix comment grammar.

View File

@ -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;