nyx: Release the shackles

This commit is contained in:
Kostas Missos
2019-12-07 20:16:38 +02:00
parent edc2b12f0f
commit 48c15a8fde
23 changed files with 1 additions and 117 deletions

View File

@@ -19,9 +19,6 @@
#include "elfload.h"
#pragma GCC push_options
#pragma GCC target ("thumb")
el_status el_pread(el_ctx *ctx, void *def, size_t nb, size_t offset)
{
return ctx->pread(ctx, def, nb, offset) ? EL_OK : EL_EIO;
@@ -325,5 +322,3 @@ el_status el_relocate(el_ctx *ctx)
return rv;
}
#pragma GCC pop_options

View File

@@ -40,9 +40,6 @@
#include "diskio.h" /* Declarations of device I/O functions */
#include "../../gfx/gfx.h"
#pragma GCC push_options
#pragma GCC target ("thumb")
#define EFSPRINTF(text, ...) print_error(); gfx_printf("%k"text"%k\n", 0xFFFFFF00, 0xFFFFFFFF);
//#define EFSPRINTF(...)
@@ -6862,5 +6859,3 @@ FRESULT f_setcp (
return FR_OK;
}
#endif /* FF_CODE_PAGE == 0 */
#pragma GCC pop_options

View File

@@ -34,10 +34,6 @@
#define MERGE2(a, b) a ## b
#define CVTBL(tbl, cp) MERGE2(tbl, cp)
#pragma GCC push_options
#pragma GCC target ("thumb")
/*------------------------------------------------------------------------*/
/* Code Conversion Tables */
/*------------------------------------------------------------------------*/
@@ -626,7 +622,4 @@ DWORD ff_wtoupper ( /* Returns up-converted code point */
return uni;
}
#pragma GCC pop_options
#endif /* #if FF_USE_LFN */