about summary refs log tree commit diff
path: root/sysdeps/sparc
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2018-08-31 18:04:32 -0700
committerCarlos O'Donell <carlos@redhat.com>2018-11-09 10:17:07 -0500
commit9071be6b3f78da905ab2b6403933fe14d4482e47 (patch)
tree29cd2c4f9af352adfe1ad14cdc2f42788674167d /sysdeps/sparc
parent7d174f53539bfbfa9cdfa41ead605573d3f219eb (diff)
downloadglibc-9071be6b3f78da905ab2b6403933fe14d4482e47.tar.gz
glibc-9071be6b3f78da905ab2b6403933fe14d4482e47.tar.xz
glibc-9071be6b3f78da905ab2b6403933fe14d4482e47.zip
[BZ #20271] Add newlines in __libc_fatal calls.
(cherry picked from commit a6e8926f8d49a213a9abb1a61f6af964f612ab7f)
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r--sysdeps/sparc/sparc32/dl-irel.h2
-rw-r--r--sysdeps/sparc/sparc64/dl-irel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/sparc/sparc32/dl-irel.h b/sysdeps/sparc/sparc32/dl-irel.h
index ffca36864f..cf47cda834 100644
--- a/sysdeps/sparc/sparc32/dl-irel.h
+++ b/sysdeps/sparc/sparc32/dl-irel.h
@@ -56,7 +56,7 @@ elf_irela (const Elf32_Rela *reloc)
   else if (r_type == R_SPARC_NONE)
     ;
   else
-    __libc_fatal ("unexpected reloc type in static binary");
+    __libc_fatal ("Unexpected reloc type in static binary.\n");
 }
 
 #endif /* dl-irel.h */
diff --git a/sysdeps/sparc/sparc64/dl-irel.h b/sysdeps/sparc/sparc64/dl-irel.h
index c5cd3057ac..446fed1836 100644
--- a/sysdeps/sparc/sparc64/dl-irel.h
+++ b/sysdeps/sparc/sparc64/dl-irel.h
@@ -59,7 +59,7 @@ elf_irela (const Elf64_Rela *reloc)
   else if (r_type == R_SPARC_NONE)
     ;
   else
-    __libc_fatal ("unexpected reloc type in static binary");
+    __libc_fatal ("Unexpected reloc type in static binary.\n");
 }
 
 #endif /* dl-irel.h */