Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!GINGER.BERKELEY.EDU!mcgrath%paris.Berkeley.EDU From: mcgrath%paris.Berkeley.EDU@GINGER.BERKELEY.EDU (Roland McGrath) Newsgroups: gnu.utils.bug Subject: nm enhancement Message-ID: <8905260329.AA07966@paris.Berkeley.EDU> Date: 26 May 89 03:29:18 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 36 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: