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: Make arm-wrs-vxworks pass more options down to the assembler


On Wed, 2007-07-04 at 10:36 +0100, Richard Sandiford wrote:
> arm-wrs-vxworks is the only ARM port to include svr4.h, and its current
> ASM_SPEC is based on svr4.h's (with -Q options removed).  This means that
> we don't pass things like -mfpu down to the assembler, leading to many
> assembler errors from Julian's neon tests.
> 
> I thought the best fix would be to make VxWorks work like other ARM
> ports, so the patch below removes svr4.h from $tm_file.  I compared the
> -dM output for the current configuration with the -dM output you get
> when svr4.h is removed, and added the other differences to vxworks.h.
> 
> Tested on arm-wrs-vxworks.  OK to install?
> 
> Richard
> 
> 
> gcc/
> 	* config.gcc (arm-wrs-vxworks): Don't include svr4.h.
> 	* config/vxworks.h (PTRDIFF_TYPE, SIZE_TYPE, TARGET_POSIX_IO): Define.
> 	* config/arm/vxworks.h (ASM_SPEC): Delete.
> 	(SUBTARGET_EXTRA_ASM_SPEC): Define.

OK

R.


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