x86-64: Add -z max-page-size=0x200000 -z noseparate-code to IFUNC tests
[binutils-gdb.git] / ld / ldemul.c
index 596418e911e600e4582b75d1caaf64d23c2183cd..b2262e2b8a860cf88996258c715838e9c5c838f7 100644 (file)
@@ -1,5 +1,5 @@
 /* ldemul.c -- clearing house for ld emulation states
-   Copyright (C) 1991-2015 Free Software Foundation, Inc.
+   Copyright (C) 1991-2018 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -64,6 +64,12 @@ ldemul_after_open (void)
   ld_emulation->after_open ();
 }
 
+void
+ldemul_after_check_relocs (void)
+{
+  ld_emulation->after_check_relocs ();
+}
+
 void
 ldemul_after_allocation (void)
 {
@@ -120,10 +126,6 @@ ldemul_open_dynamic_archive (const char *arch, search_dirs_type *search,
 lang_output_section_statement_type *
 ldemul_place_orphan (asection *s, const char *name, int constraint)
 {
-  if (config.warn_orphan)
-    einfo (_("%P: Warning: input section '%s' from file '%B' is not mentioned in linker script\n"),
-          name, s->owner);
-
   if (ld_emulation->place_orphan)
     return (*ld_emulation->place_orphan) (s, name, constraint);
   return NULL;
@@ -230,6 +232,11 @@ after_open_default (void)
 {
 }
 
+void
+after_check_relocs_default (void)
+{
+}
+
 void
 after_allocation_default (void)
 {
@@ -332,7 +339,7 @@ ldemul_list_emulation_options (FILE *f)
        }
     }
 
-  if (! options_found)
+  if (!options_found)
     fprintf (f, _("  no emulation specific options.\n"));
 }