This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] make bfd build again with gcc 3.3.x


reloc_howto_type is already const. Checking in as obvious.

2007-09-11  Jan Beulich  <jbeulich@novell.com>

	* elf64-i386.c (elf64_i386_tls_transition): Remove redundant 'const'.
	* elf64-x86_64.c (elf64_x86_64_tls_transition): Likewise.

--- 2007-09-11/bfd/elf32-i386.c	2007-09-11 12:23:30.000000000 +0200
+++ 2007-09-11/bfd/elf32-i386.c	2007-09-11 17:24:45.000000000 +0200
@@ -1171,7 +1171,7 @@ elf_i386_tls_transition (struct bfd_link
 					  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);
--- 2007-09-11/bfd/elf64-x86-64.c	2007-09-11 12:23:30.000000000 +0200
+++ 2007-09-11/bfd/elf64-x86-64.c	2007-09-11 17:24:52.000000000 +0200
@@ -952,7 +952,7 @@ elf64_x86_64_tls_transition (struct bfd_
 					      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);




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]