|
@@ -84,14 +84,8 @@
|
|
|
* to trace naked functions because then mcount is called without
|
|
|
* stack and frame pointer being set up and there is no chance to
|
|
|
* restore the lr register to the value before mcount was called.
|
|
|
- *
|
|
|
- * The asm() bodies of naked functions often depend on standard calling
|
|
|
- * conventions, therefore they must be noinline and noclone.
|
|
|
- *
|
|
|
- * GCC 4.[56] currently fail to enforce this, so we must do so ourselves.
|
|
|
- * See GCC PR44290.
|
|
|
*/
|
|
|
-#define __naked __attribute__((naked)) noinline __noclone notrace
|
|
|
+#define __naked __attribute__((naked)) notrace
|
|
|
|
|
|
#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
|
|
|
|