Skip to content
Snippets Groups Projects
Commit 76d00e00 authored by Jerome Lambourg's avatar Jerome Lambourg Committed by Alexandre Oliva
Browse files

Add conditions on VxWorks versions for gcc.dg/vxworks/initpri?.c

Adjust vxworks initpri expectations, given that vxworks7 has switched
to .init_array.


for  gcc/testsuite/ChangeLog

	* gcc.dg/vxworks/initpri1.c: Tigthen VxWorks version check.
	* gcc.dg/vxworks/initpri2.c: Likewise.
parent 06450993
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@
/* The selector below excludes VxWorks AE because AE does not support
RTP mode. */
/* { dg-do compile { target { *-*-vxworks* && { ! *-*-vxworksae* } } } } */
/* { dg-skip-if "vxworks7 SR06x0 now uses .init_array" { *-*-vxworks7r* } } */
/* { dg-options "-mrtp" } */
/* { dg-final { scan-assembler "ctors\.00000" } } */
/* { dg-final { scan-assembler "dtors\.00000" } } */
......
......@@ -2,6 +2,7 @@
Instead, initialization is handled by munch. */
/* { dg-do compile { target vxworks_kernel } } */
/* { dg-skip-if "vxworks7 SR06x0 now uses .init_array" { *-*-vxworks7r* } } */
/* { dg-final { scan-assembler-not "\.ctors" } } */
/* { dg-final { scan-assembler-not "\.dtors" } } */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment