aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-01-21 21:55:07 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-01-21 21:55:07 +0000
commitb87d70463e5ddfa57dfc40b40971dceee1518374 (patch)
tree8bc7c043bac0af0c03be6d46878f7e75ed1ef3da /libgloss
parent2804a58c4c235cfe4f1ba269db8d9445b60b192b (diff)
downloadnewlib-b87d70463e5ddfa57dfc40b40971dceee1518374.zip
newlib-b87d70463e5ddfa57dfc40b40971dceee1518374.tar.gz
newlib-b87d70463e5ddfa57dfc40b40971dceee1518374.tar.bz2
2005-01-21 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (stub_warning): Remove "warning: " prefix.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/libnosys/warning.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index c09e7dd..60cc3fa 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-21 Hans-Peter Nilsson <hp@axis.com>
+
+ * libnosys/warning.h (stub_warning): Remove "warning: " prefix.
+
2005-01-18 Hans-Peter Nilsson <hp@axis.com>
* libnosys/warning.h (link_warning) [HAVE_GNU_LD and HAVE_ELF]:
diff --git a/libgloss/libnosys/warning.h b/libgloss/libnosys/warning.h
index 767a5de..9232a92 100644
--- a/libgloss/libnosys/warning.h
+++ b/libgloss/libnosys/warning.h
@@ -35,9 +35,10 @@
# define link_warning(symbol, msg)
#endif
-/* A canned warning for sysdeps/stub functions. */
+/* A canned warning for sysdeps/stub functions.
+ The GNU linker prepends a "warning: " string. */
#define stub_warning(name) \
link_warning (name, \
- "warning: " #name " is not implemented and will always fail")
+ #name " is not implemented and will always fail")
#endif /* __WARNING_H__ */