This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support for #pragma redefine_external on Solaris


On 28 Nov 2001, Ian Lance Taylor wrote:

> 2001-11-28  Ian Lance Taylor  <ian@airs.com>
> 
> 	* config/sparc/sol2.h (CPP_PREDEFINES): Define
> 	__PRAGMA_REDEFINE_EXTNAME.
> 	(REGISTER_TARGET_PRAGMAS): Define.
> 	(HANDLE_PRAGMA_REDEFINE_EXTNAME): Define.
> 	(ASM_OUTPUT_EXTERNAL): Define.
> 	* config/sparc/sparc.c: Include "cpplib.h", "c-pragma.h",
> 	"c-lex.h".
> 	(handle_pragma_redefine_extname): New function.
> 	(sparc_redefine_external): New function.
> 	(sparc_add_gc_roots): Add redefine_extname_list.
> 	* config/sparc/sparc-protos.h (sparc_redefine_external): Declare.
> 	(handle_pragma_redefine_extname): Declare.

Documentation in the Pragmas section of extend.texi is needed.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]