diff options
author | Alan Modra <amodra@gmail.com> | 2000-09-21 14:21:24 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-09-21 14:21:24 +0000 |
commit | e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3 (patch) | |
tree | 7057eacad18b397457b68042871971cca17359e0 /ld/ldwrite.c | |
parent | Correct comments. Don't check non-code output sections for stub (diff) | |
download | binutils-gdb-e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3.tar.gz binutils-gdb-e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3.tar.bz2 binutils-gdb-e2eb67d9cbebb6a2280daa9e0e25f8eda1f456b3.zip |
Silence gcc warning.
Diffstat (limited to 'ld/ldwrite.c')
-rw-r--r-- | ld/ldwrite.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/ldwrite.c b/ld/ldwrite.c index 233f2388eb7..589b91012ca 100644 --- a/ld/ldwrite.c +++ b/ld/ldwrite.c @@ -319,7 +319,11 @@ clone_section (abfd, s, name, count) || (n = bfd_make_section_anyway (abfd, sname)) == NULL || (h = bfd_link_hash_lookup (link_info.hash, sname, true, true, false)) == NULL) - einfo (_("%F%P: clone section failed: %E\n")); + { + einfo (_("%F%P: clone section failed: %E\n")); + /* Silence gcc warnings. einfo exits, so we never reach here. */ + return NULL; + } /* Set up section symbol. */ h->type = bfd_link_hash_defined; |