Change objfile::partial_symtabs to be a unique_ptr
[deliverable/binutils-gdb.git] / gold / testsuite / justsyms_exec.c
index 49500805abd6e57c6a98a5bc429c59900dc43616..153a3ffd191a27573fdc2f58d10120addf8b3558 100644 (file)
@@ -1,6 +1,6 @@
 // justsyms_exec.c -- test --just-symbols for gold
 
-// Copyright (C) 2011-2015 Free Software Foundation, Inc.
+// Copyright (C) 2011-2019 Free Software Foundation, Inc.
 // Written by Cary Coutant <ccoutant@google.com>.
 
 // This file is part of gold.
@@ -47,8 +47,8 @@ check(void *sym, long v, const char *name)
 int
 main(void)
 {
-#ifndef __powerpc64__
-  /* PowerPC64 uses function descriptors.  */
+#if !defined (__powerpc64__) || (defined (_CALL_ELF) && _CALL_ELF == 2)
+  /* PowerPC64 ELFv1 uses function descriptors.  */
   check(exported_func, 0x1000200, "exported_func");
 #endif
   check(&exported_data, 0x2000000, "exported_data");
This page took 0.036825 seconds and 4 git commands to generate.