Moved TEXT_SECTION_ATTR macro to its own header.

This commit is contained in:
Johny Mattsson 2015-10-01 15:14:50 +10:00
parent 8dff84e0a2
commit cc220d9201
3 changed files with 8 additions and 1 deletions

View File

@ -39,6 +39,7 @@
*/
#include <c_types.h>
#include "sections.h"
#ifndef _RTCTIME_INTERNAL_H_
struct rtc_timeval

6
app/include/sections.h Normal file
View File

@ -0,0 +1,6 @@
#ifndef _SECTIONS_H_
#define _SECTIONS_H_
#define TEXT_SECTION_ATTR __attribute__((section(".text")))
#endif

View File

@ -1,4 +1,4 @@
#include "c_types.h"
#include "sections.h"
#include "rom.h"
#include <xtensa/corebits.h>