summaryrefslogtreecommitdiff
path: root/bfd/elf64-s390.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2006-05-05 13:21:34 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2006-05-05 13:21:34 +0000
commit77df29685b94bf65d393172abf0a8755205d3426 (patch)
tree8bdd3507945c81c617a2177512b31d272350bca0 /bfd/elf64-s390.c
parentd1b46e8025d11e7120fe71c7cee304ddaa2cd4a2 (diff)
downloadbinutils-gdb-77df29685b94bf65d393172abf0a8755205d3426.tar.gz
* elf32-s390.c (invalid_tls_insn): Call bfd_set_error.
(elf_s390_relocate_section): Add code to do the GD->LE and LD->LE TLS linker optimizations if a brasl instruction is used for the __tls_get_offset function call. * elf64-s390.c (invalid_tls_insn): Call bfd_set_error.
Diffstat (limited to 'bfd/elf64-s390.c')
-rw-r--r--bfd/elf64-s390.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf64-s390.c b/bfd/elf64-s390.c
index 1fe0c6ca915..bb203970f15 100644
--- a/bfd/elf64-s390.c
+++ b/bfd/elf64-s390.c
@@ -2240,6 +2240,7 @@ invalid_tls_insn (input_bfd, input_section, rel)
input_section,
(long) rel->r_offset,
howto->name);
+ bfd_set_error (bfd_error_bad_value);
}
/* Relocate a 390 ELF section. */