This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Resend: Set BSF_FUNCTION flag for ecoff func syms
- From: Jason Eckhardt <jle at owlnet dot rice dot edu>
- To: <binutils at sources dot redhat dot com>
- Date: Sun, 23 Jun 2002 17:51:27 -0500 (CDT)
- Subject: [PATCH] Resend: Set BSF_FUNCTION flag for ecoff func syms
One thing I miss about working at Red Hat is that super-fast
turn-around on patches :)
This looks obvious and simple, but...
Objections?
2002-06-13 Jason Eckhardt <jle@rice.edu>
* ecoff.c (ecoff_set_symbol_info): Set BSF_FUNCTION for
symbols of type stProc and stStaticProc.
Index: ecoff.c
===================================================================
RCS file: /cvs/src/src/bfd/ecoff.c,v
retrieving revision 1.16
diff -c -3 -p -r1.16 ecoff.c
*** ecoff.c 7 Jun 2002 15:04:47 -0000 1.16
--- ecoff.c 13 Jun 2002 17:29:16 -0000
*************** ecoff_set_symbol_info (abfd, ecoff_sym,
*** 726,731 ****
--- 726,735 ----
|| ECOFF_IS_STAB (ecoff_sym))
asym->flags |= BSF_DEBUGGING;
}
+
+ if (ecoff_sym->st == stProc || ecoff_sym->st == stStaticProc)
+ asym->flags |= BSF_FUNCTION;
+
switch (ecoff_sym->sc)
{
case scNil: