aboutsummaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r--ld/ldemul.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index 596418e..22c7974 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -120,10 +120,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;