aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/emultempl/cskyelf.em2
-rw-r--r--ld/ldfile.c2
-rw-r--r--ld/ldlang.c2
-rw-r--r--ld/plugin.c2
5 files changed, 11 insertions, 4 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3cb0cf8..9333dff 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,12 @@
2020-02-26 Alan Modra <amodra@gmail.com>
+ * emultempl/cskyelf.em: Indent labels correctly.
+ * ldfile.c: Likewise.
+ * ldlang.c: Likewise.
+ * plugin.c: Likewise.
+
+2020-02-26 Alan Modra <amodra@gmail.com>
+
PR 25593
* ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
(ldelf_after_open): Save state of input_bfds list before loading
diff --git a/ld/emultempl/cskyelf.em b/ld/emultempl/cskyelf.em
index aa2c2a6..e84ddb6 100644
--- a/ld/emultempl/cskyelf.em
+++ b/ld/emultempl/cskyelf.em
@@ -197,7 +197,7 @@ elf32_csky_add_stub_section (const char *stub_sec_name,
if (hook_in_stub (&info, &os->children.head))
return stub_sec;
-err_ret:
+ err_ret:
einfo (_("%X%P: can not make stub section: %E\n"));
return NULL;
}
diff --git a/ld/ldfile.c b/ld/ldfile.c
index 411f7dd..aa84906 100644
--- a/ld/ldfile.c
+++ b/ld/ldfile.c
@@ -302,7 +302,7 @@ ldfile_try_open_bfd (const char *attempt,
}
}
}
-success:
+ success:
#ifdef ENABLE_PLUGINS
/* If plugins are active, they get first chance to claim
any successfully-opened input file. We skip archives
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 528ed22..be9ac36 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -489,7 +489,7 @@ compare_section (sort_type sort, asection *asec, asection *bsec)
/* Fall through. */
case by_name:
-sort_by_name:
+ sort_by_name:
ret = strcmp (bfd_section_name (asec), bfd_section_name (bsec));
break;
diff --git a/ld/plugin.c b/ld/plugin.c
index f8d3ec8..23a3145 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -336,7 +336,7 @@ plugin_get_ir_dummy_bfd (const char *name, bfd *srctemplate)
return abfd;
}
}
-report_error:
+ report_error:
einfo (_("%F%P: could not create dummy IR bfd: %E\n"));
return NULL;
}