From owner-freebsd-hackers Sun Jan 5 16:59:08 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id QAA26416 for hackers-outgoing; Sun, 5 Jan 1997 16:59:08 -0800 (PST) Received: from paris.CS.Berkeley.EDU (paris.CS.Berkeley.EDU [128.32.34.47]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id QAA26411 for ; Sun, 5 Jan 1997 16:59:06 -0800 (PST) Received: (from jmacd@localhost) by paris.CS.Berkeley.EDU (8.8.3/8.8.2) id QAA27318 for freebsd-hackers@freebsd.org; Sun, 5 Jan 1997 16:59:03 -0800 (PST) Date: Sun, 5 Jan 1997 16:59:03 -0800 (PST) From: Josh MacDonald Message-Id: <199701060059.QAA27318@paris.CS.Berkeley.EDU> To: freebsd-hackers@freebsd.org Subject: demangling cplusplus names in ld output Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I can't remember if FreeBSD's ld ever did demangle cpluplus names in its output, but I took a look in the source directory today and saw an extremenly old version of cplus-dem.c that was not even being linked with the ld sources and probably wouldn't do much good if it did. I certainly find it desirable, does anyone else? I've made the neccesary modifications. It involves wrapping a function call around the symbol->name field of each output statement, one small new function, and linking in the file cplus-dem.c from the gcc sources. Another approach requiring fewer modifications would be to fork a c++filt and pipe the output. I am willing to make either of these modifications (I'd have to go over my current sources with a little more scrutiny to make sure I didn't break it). -josh