aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-06-18 17:23:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-06-18 17:23:52 +0000
commit6f9efd975101f3a93625952de6de81ae36ef8c4b (patch)
treec4a6406ec8486ada6e4890e9764a4953070cd2f1 /ld
parent83905903c9cd27834080c4d24b008c8a19055a83 (diff)
downloadgdb-6f9efd975101f3a93625952de6de81ae36ef8c4b.zip
gdb-6f9efd975101f3a93625952de6de81ae36ef8c4b.tar.gz
gdb-6f9efd975101f3a93625952de6de81ae36ef8c4b.tar.bz2
2001-06-18 H.J. Lu <hjl@gnu.org>
* ldlang.c (init_os): Add the newline to the einfo call. (lang_check): Likewise. (lang_do_version_exports_section): Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ldlang.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index cfa2bab..3212ca1 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-18 H.J. Lu <hjl@gnu.org>
+
+ * ldlang.c (init_os): Add the newline to the einfo call.
+ (lang_check): Likewise.
+ (lang_do_version_exports_section): Likewise.
+
2001-06-15 H.J. Lu <hjl@gnu.org>
* lexsup.c (parse_args); Save optind to report unrecognized
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 4512af6..5ef49e4 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -814,7 +814,7 @@ init_os (s)
return;
if (strcmp (s->name, DISCARD_SECTION_NAME) == 0)
- einfo (_("%P%F: Illegal use of `%s' section"), DISCARD_SECTION_NAME);
+ einfo (_("%P%F: Illegal use of `%s' section\n"), DISCARD_SECTION_NAME);
new = ((section_userdata_type *)
stat_alloc (sizeof (section_userdata_type)));
@@ -3522,7 +3522,7 @@ lang_check ()
}
else if (link_info.relocateable
&& bfd_get_flavour (input_bfd) != bfd_get_flavour (output_bfd))
- einfo (_("%P%F: Relocatable linking from format %s (%B) to format %s (%B) is not supported"),
+ einfo (_("%P%F: Relocatable linking from format %s (%B) to format %s (%B) is not supported\n"),
bfd_get_target (input_bfd), input_bfd,
bfd_get_target (output_bfd), output_bfd);
else if (bfd_count_sections (input_bfd))
@@ -5103,7 +5103,7 @@ lang_do_version_exports_section ()
len = bfd_section_size (is->the_bfd, sec);
contents = xmalloc (len);
if (!bfd_get_section_contents (is->the_bfd, sec, contents, 0, len))
- einfo (_("%X%P: unable to read .exports section contents"), sec);
+ einfo (_("%X%P: unable to read .exports section contents\n"), sec);
p = contents;
while (p < contents + len)