[PATCH] rs6000.c missing target hook

David Edelsohn dje.gcc@gmail.com
Tue May 22 14:15:00 GMT 2012


During one of the target hook conversions,
rs6000_aix_asm_output_dwarf_table_ref() retained a use of
TARGET_STRIP_NAME_ENCODING macro instead of the target hook, which
broke when Alan cleaned up rs6000.c.  Fixed thusly.

- David

* config/rs6000/rs6000.c (rs6000_aix_asm_output_dwarf_table_ref): Use
strip_name_encoding target hook.

Index: rs6000.c
===================================================================
--- rs6000.c    (revision 187756)
+++ rs6000.c    (working copy)
@@ -18392,7 +18392,7 @@
 rs6000_aix_asm_output_dwarf_table_ref (char * frame_table_label)
 {
   fprintf (asm_out_file, "\t.ref %s\n",
-          TARGET_STRIP_NAME_ENCODING (frame_table_label));
+          (* targetm.strip_name_encoding) (frame_table_label));
 }


 /* This ties together stack memory (MEM with an alias set of frame_alias_set)



More information about the Gcc-patches mailing list