aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-s390.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2002-07-02 09:05:51 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2002-07-02 09:05:51 +0000
commit99881371eb4a78527f3e00841833eca312f218a7 (patch)
tree93a451d27488091b576318cc194e598cf500376d /bfd/elf64-s390.c
parent148b4c7a2b6b3252cb8eb223f7e01f2cd5045159 (diff)
downloadgdb-99881371eb4a78527f3e00841833eca312f218a7.zip
gdb-99881371eb4a78527f3e00841833eca312f218a7.tar.gz
gdb-99881371eb4a78527f3e00841833eca312f218a7.tar.bz2
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.
Diffstat (limited to 'bfd/elf64-s390.c')
-rw-r--r--bfd/elf64-s390.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
index 0934bfb..c4e4f68 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;