Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ucbvax!ATHENA.MIT.EDU!wdc From: wdc@ATHENA.MIT.EDU (Bill Cattey) Newsgroups: comp.soft-sys.andrew Subject: A second step closer to plumber on AIX. Message-ID: Date: 2 Oct 90 04:57:37 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 55 I extracted calloc.o from libc.a and ran the 'dis' program on it. This helpful utility either provides assembly language disassembly of a .o file or hangs in an infinite loop. This time, it gave me a recognizable .s file for calloc.o Look at the two symbols: %_Djyj.Q and%_Sjyj.Q as they appear in my calloc.s: %_Djyj.Q: .long %_Sjyj.Q %_Sjyj.Q: .byte 0x40 /'@' .byte 0x28 /'(' .byte 0x23 /'#' .byte 0x29 /')' .byte 0x63 /'c' .byte 0x61 /'a' .byte 0x6c /'l' .byte 0x6c /'l' .byte 0x6f /'o' .byte 0x63 /'c' .byte 0x2e /'.' .byte 0x63 /'c' .byte 0x9 .byte 0x31 /'1' .byte 0x2e /'.' .byte 0x31 /'1' .byte 0x30 /'0' .byte 0x9 .byte 0x41 /'A' .byte 0x49 /'I' .byte 0x58 /'X' .byte 0x0 .byte 0x0 .byte 0x0 It's an identifier string generated by either the C compiler, the loader, or the library archive program. How nice. And it's global so anyone can find it. And it's global so getlist.awk wants it. I wonder how the symbol name was generated... Does anyone have a suggestion how we might modify getlist.awk to carefully discard such symbols so that we don't force loading of routines we're overriding? -wdc "If you could push this button and your wife (every PS/2) would dissappear, would you do it?" -Jack Lemon (with my amendment) From "How to Murder your Wife"