From 2f629d2305e935524b49e14da64e1ffe26ea9d6b Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 11 Sep 2007 15:44:19 +0000 Subject: [PATCH] 2007-09-11 Jan Beulich * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise. --- bfd/ChangeLog | 5 +++++ bfd/elf32-i386.c | 2 +- bfd/elf64-x86-64.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0078efc32b..cba32ae5aa 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2007-09-11 Jan Beulich + + * elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'. + * elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise. + 2007-09-08 Alan Modra * elf64-ppc.c (func_desc_adjust): When resolving undefined diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 072dc6fe9f..543ea21b7a 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -1171,7 +1171,7 @@ elf_i386_tls_transition (struct bfd_link_info *info, bfd *abfd, symtab_hdr, sym_hashes, from_type, rel, relend)) { - const reloc_howto_type *from, *to; + reloc_howto_type *from, *to; from = elf_i386_rtype_to_howto (abfd, from_type); to = elf_i386_rtype_to_howto (abfd, to_type); diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 840e37a147..c95e2c9a5c 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -952,7 +952,7 @@ elf64_x86_64_tls_transition (struct bfd_link_info *info, bfd *abfd, symtab_hdr, sym_hashes, from_type, rel, relend)) { - const reloc_howto_type *from, *to; + reloc_howto_type *from, *to; from = elf64_x86_64_rtype_to_howto (abfd, from_type); to = elf64_x86_64_rtype_to_howto (abfd, to_type);