This is the mail archive of the 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]

Update config.gcc for sparc-elf target use of sol2 headers/files

Hi Guys,

  A toolchain configured as "--target=sparc-elf" will not build in the
  current mainline sources because of the lack of the function

  It seems to me that there are two ways to solve this problem -
  remove the inclusion of sparc/sol2.h for the sparc-elf target or
  else add the inclusion of the config/sol2.c file.  I am proposing
  the latter and I would like to ask for permission to apply this
  patch ?


2005-01-19  Nick Clifton  <>

	* config.gcc (sparc-elf): Add sol2.o and sol2-c.o object files
	and associated headers and makefile fragment.

Index: gcc/config.gcc
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.508
diff -c -3 -p -r1.508 config.gcc
*** gcc/config.gcc	18 Jan 2005 11:36:02 -0000	1.508
--- gcc/config.gcc	19 Jan 2005 17:58:15 -0000
*************** sparc-*-elf*)
*** 1892,1897 ****
--- 1892,1902 ----
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h sol2.h sparc/sol2.h sparc/elf.h"
  	tmake_file="sparc/t-elf sparc/t-crtfm"
  	extra_parts="crti.o crtn.o crtbegin.o crtend.o"
+ 	tmake_file="t-sol2 ${tmake_file}"
+ 	c_target_objs="sol2-c.o"
+ 	cxx_target_objs="sol2-c.o"
+ 	tm_p_file="${tm_p_file} sol2-protos.h"
+ 	extra_objs="sol2.o"
  sparc-*-linux*)		# SPARC's running GNU/Linux, libc6

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