2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>

* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
	_CPU_Context_restore() because it does not return. Telling GCC this
	avoids generation of dead code.
This commit is contained in:
Joel Sherrill
2010-10-21 22:18:05 +00:00
parent 8e9a25ac02
commit 479cbaf81d
26 changed files with 92 additions and 14 deletions
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+2 -2
View File
@@ -745,7 +745,7 @@ uint32_t _CPU_ISR_Get_level( void );
* XXX document implementation including references if appropriate
*/
#define _CPU_Context_Restart_self( _the_context ) \
#define eCPU_Context_Restart_self( _the_context ) \
_CPU_Context_restore( _the_context );
/*
@@ -1081,7 +1081,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
+1 -1
View File
@@ -1164,7 +1164,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
+1 -1
View File
@@ -1059,7 +1059,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-09-26 Yann Sionneau <yann@minet.net>
PR 1697/cpukit
+1 -1
View File
@@ -1168,7 +1168,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+1 -1
View File
@@ -1124,7 +1124,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUEndian
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+1 -1
View File
@@ -1149,7 +1149,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+1 -1
View File
@@ -1084,7 +1084,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+1 -1
View File
@@ -1212,7 +1212,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-30 Gedare Bloom <giddyup44@yahoo.com>
PR 1599/cpukit
+1 -1
View File
@@ -1148,7 +1148,7 @@ void _CPU_Context_switch(
*/
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/**
* @ingroup CPUContext
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
+1 -1
View File
@@ -902,7 +902,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
+1 -1
View File
@@ -861,7 +861,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-07-29 Gedare Bloom <giddyup44@yahoo.com>
PR 1635/cpukit
+1 -1
View File
@@ -925,7 +925,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp
+6
View File
@@ -1,3 +1,9 @@
2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to
_CPU_Context_restore() because it does not return. Telling GCC this
avoids generation of dead code.
2010-08-19 Gedare Bloom <giddyup44@yahoo.com>
PR 1681/cpukit
+1 -1
View File
@@ -999,7 +999,7 @@ void _CPU_Context_switch(
void _CPU_Context_restore(
Context_Control *new_context
);
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
/*
* _CPU_Context_save_fp