mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-26 12:54:05 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1164,7 +1164,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1168,7 +1168,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1124,7 +1124,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUEndian
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1149,7 +1149,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1212,7 +1212,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1148,7 +1148,7 @@ void _CPU_Context_switch(
|
||||
*/
|
||||
void _CPU_Context_restore(
|
||||
Context_Control *new_context
|
||||
);
|
||||
) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
|
||||
|
||||
/**
|
||||
* @ingroup CPUContext
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user