]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* elf64-ppc.c (ppc64_elf_action_discarded): Return 0
authorJakub Jelinek <jakub@redhat.com>
Sun, 1 Jan 2006 00:06:24 +0000 (00:06 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sun, 1 Jan 2006 00:06:24 +0000 (00:06 +0000)
for .toc1 section.

bfd/ChangeLog
bfd/elf64-ppc.c

index dc6be124f7f0ea44a6f54334f32bfcb1a5f740f0..b526ae973a503178cea461c796cff1c932f9766a 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-ppc.c (ppc64_elf_action_discarded): Return 0
+       for .toc1 section.
+
 2005-12-31  Valeriy E. Ushakov  <uwe@NetBSD.org>
            Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
index e3908aaafde3f0a96d0af5d4ae7cc8f153362562..a2cfaacdb2eb54b2e0f37c8d38a6000dec318713 100644 (file)
@@ -1,5 +1,5 @@
 /* PowerPC64-specific support for 64-bit ELF.
-   Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005
+   Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    Free Software Foundation, Inc.
    Written by Linus Nordberg, Swox AB <info@swox.com>,
    based on elf32-ppc.c by Ian Lance Taylor.
@@ -9494,6 +9494,9 @@ ppc64_elf_action_discarded (asection *sec)
   if (strcmp (".toc", sec->name) == 0)
     return 0;
 
+  if (strcmp (".toc1", sec->name) == 0)
+    return 0;
+
   return _bfd_elf_default_action_discarded (sec);
 }