Add a warning if an emtpty SHT_REL, SHT_RELA or SHT_PROGBITS section is detected...
[deliverable/binutils-gdb.git] / binutils / elfcomm.c
index 5ec4690e13234b6eeed7ac45e2d32672cb9a21d0..fc47b40757f2db1b5f48224862b428bccddbc3eb 100644 (file)
 
 extern char *program_name;
 
+/* FIXME:  This definition really ought to be in ansidecl.h.  */
+#ifndef ATTRIBUTE_WEAK
+#define ATTRIBUTE_WEAK __attribute__((weak))
+#endif
+
+/* Allow the following two functions to be overridden if desired.  */
+void error (const char *, ...) ATTRIBUTE_WEAK;
+void warn (const char *, ...) ATTRIBUTE_WEAK;
+
 void
 error (const char *message, ...)
 {
This page took 0.024045 seconds and 4 git commands to generate.