Use __asm__ rather than asm in gold testsuite
[deliverable/binutils-gdb.git] / gold / testsuite / plugin_new_section_layout.c
index 0fe1607acb7706830192e2a24aade693cffa1de9..2ec372ef3654d553ffecf2d7ddc7453e21eac681 100644 (file)
@@ -1,7 +1,7 @@
 /* plugin_new_section_layout.c -- Simple plugin to reorder function sections in
    plugin-generated objects
 
-   Copyright (C) 2017-2018 Free Software Foundation, Inc.
+   Copyright (C) 2017-2020 Free Software Foundation, Inc.
    Written by Stephen Crane <sjc@immunant.com>.
 
    This file is part of gold.
@@ -144,12 +144,12 @@ new_input_hook(const struct ld_plugin_input_file *file)
     section.shndx = i;
 
     if (get_input_section_type(section, &type) != LDPS_OK)
-      return LDPL_FATAL;
+      return LDPS_ERR;
     if (type != SHT_PROGBITS)
       continue;
 
     if (get_input_section_name(section, &name))
-      return LDPL_FATAL;
+      return LDPS_ERR;
 
     /* As in plugin_section_order.c, order is foo() followed by bar()
        followed by baz() */
@@ -172,7 +172,7 @@ new_input_hook(const struct ld_plugin_input_file *file)
   }
 
   if (num_entries != 3)
-    return LDPL_FATAL;
+    return LDPS_ERR;
 
   update_section_order(section_list, num_entries);
   unique_segment_for_sections (".text.plugin_created_unique", 0, 0x1000,
This page took 0.023954 seconds and 4 git commands to generate.