diff mbox

Export darwin_additional_format_types

Message ID 20101117134400.GA31063@bromo.med.uc.edu
State New
Headers show

Commit Message

Jack Howarth Nov. 17, 2010, 1:44 p.m. UTC
The attached patch resolves the issue of the symbol 
darwin_additional_format_types being undefined during the
--enable-build-with-cxx bootstrap on darwin. Bootstrap and
regression tested on x86_64-apple-darwin10. Okay for gcc trunk?
           Jack

2011-11-16  Jack Howarth  <howarth@bromo.med.uc.edu>
	    Ian Lance Taylor  <iant@google.com>

	* config/darwin-c.c (darwin_additional_format_types): Export.

Comments

Ian Lance Taylor Nov. 17, 2010, 3:42 p.m. UTC | #1
Jack Howarth <howarth@bromo.med.uc.edu> writes:

> 2011-11-16  Jack Howarth  <howarth@bromo.med.uc.edu>
> 	    Ian Lance Taylor  <iant@google.com>
>
> 	* config/darwin-c.c (darwin_additional_format_types): Export.

This is OK.

Thanks.

Ian
diff mbox

Patch

Index: gcc/config/darwin-c.c
===================================================================
--- gcc/config/darwin-c.c	(revision 166794)
+++ gcc/config/darwin-c.c	(working copy)
@@ -706,7 +706,7 @@ 
 }
 
 /* The extra format types we recognize.  */
-const format_kind_info darwin_additional_format_types[] = {
+EXPORTED_CONST format_kind_info darwin_additional_format_types[] = {
   { "CFString",   NULL,  NULL, NULL, NULL, 
     NULL, NULL, 
     FMT_FLAG_ARG_CONVERT|FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL, 0, 0, 0, 0, 0, 0,