This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] Define targ_underscore=yes for sh*-vxworks


Like most SH targets, VxWorks adds a leading '_' to symbol names.
I checked that c++filt wasn't able to demangle names before the
patch below but could after it.  Tested on sh-wrs-vxworks and
installed as obvious.

Richard


bfd/
	* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".

Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.228
diff -u -p -r1.228 config.bfd
--- bfd/config.bfd	27 Jul 2007 13:26:44 -0000	1.228
+++ bfd/config.bfd	11 Aug 2007 17:30:50 -0000
@@ -1297,6 +1297,7 @@ case "${targ}" in
     # they're necessary for coff-sh.c (which is unconditionally used) to be
     # compiled correctly.
     targ_selvecs="$targ_selvecs shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec"
+    targ_underscore=yes
     ;;
   sh-*-*)
     targ_defvec=shcoff_vec


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]