mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) (05/26/89)
The following patch to nm.c makes it grok GNU ld symbol warnings.
The will come out:
00000000 w Do not use this file.
By the way, nm.c, and I think some of the other binutils, need to be changed to
use the new license.
*** nm.c.~1~ Fri Sep 16 19:22:10 1988
--- nm.c Thu May 25 20:26:16 1989
***************
*** 169,174 ****
--- 169,179 ----
#define N_INDR 0xa
#endif
+ /* Warning message to print if file is included. */
+ #ifndef N_WARNING
+ #define N_WARNING 0x1e
+ #endif
+
/* The following symbols refer to set elements.
All the N_SET[ATDB] symbols with the same name form one set.
Space is allocated for the set in the text section, and each set
***************
*** 798,803 ****
--- 803,812 ----
case N_INDR:
printf ("i");
+ break;
+
+ case N_WARNING:
+ putchar ('w');
break;
default: