stab-syms.c: Rewrite to improve performance. Shaves about 5% off gprof run

time, according to gprof itself, on i486-netbsd.
This commit is contained in:
Ken Raeburn 1995-03-14 11:02:19 +00:00
parent c024cc1110
commit 75236adbd2

View file

@ -1,3 +1,10 @@
Tue Mar 14 05:54:33 1995 Ken Raeburn (raeburn@kr-pc.cygnus.com)
* stab-syms.c (aout_stab_name): Moved aout_stab_names to be local
to this function. Recoded function to stop using table, to
improve performance (on i486-netbsd host). Left old version
intact under "#if 0" for further performance testing.
Mon Mar 13 13:48:49 1995 Ian Lance Taylor <ian@cygnus.com>
* elfcode.h (write_relocs): Make static. Use PTR argument as a