diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-19 13:57:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-19 13:57:49 +0000 |
commit | 235ac65ec3fa3a00a77e6cddb0367385dc0b77ed (patch) | |
tree | fe4e7f1065378efea09921f3a905ac820c85724c /gnu | |
parent | 69a35992825e4d206dc06a69d18820d9ecaa7716 (diff) |
Don't unconditionally create the dynamic sections since that makes building
static binaries impossible.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils-2.17/bfd/elf64-hppa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils-2.17/bfd/elf64-hppa.c b/gnu/usr.bin/binutils-2.17/bfd/elf64-hppa.c index 58798ae3794..0f8079ca309 100644 --- a/gnu/usr.bin/binutils-2.17/bfd/elf64-hppa.c +++ b/gnu/usr.bin/binutils-2.17/bfd/elf64-hppa.c @@ -609,6 +609,7 @@ elf64_hppa_check_relocs (abfd, info, sec, relocs) if (info->relocatable) return TRUE; +#if 0 /* If this is the first dynamic object found in the link, create the special sections required for dynamic linking. */ if (! elf_hash_table (info)->dynamic_sections_created) @@ -616,6 +617,7 @@ elf64_hppa_check_relocs (abfd, info, sec, relocs) if (! _bfd_elf_link_create_dynamic_sections (abfd, info)) return FALSE; } +#endif hppa_info = elf64_hppa_hash_table (info); symtab_hdr = &elf_tdata (abfd)->symtab_hdr; |