This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
powerpc64 traceback tables
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Jul 2002 14:20:12 -0400
- Subject: powerpc64 traceback tables
- References: <20020726065432.GL26054@bubble.sa.bigpond.net.au>
Shouldn't
+ if (! strcmp (rs6000_traceback_name, "full"))
+ rs6000_traceback = traceback_full;
be strncmp as well?
Also, you really don't like empty return statements, do you?
* config/rs6000/rs6000.c (rs6000_traceback_name): New var.
(rs6000_traceback): New var.
(rs6000_override_options): Set rs6000_traceback.
(rs6000_output_function_epilogue): Implement traceback options.
* config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
(rs6000_traceback_name): Declare.
This is with the the strcmp->strncmp change.
David