projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing "used" attribute to ATTR_INIT_SECTION to ensure functions declared with...
[pub/USBasp.git]
/
LUFA
/
Common
/
Attributes.h
diff --git
a/LUFA/Common/Attributes.h
b/LUFA/Common/Attributes.h
index
d6722a2
..
7ee6413
100644
(file)
--- a/
LUFA/Common/Attributes.h
+++ b/
LUFA/Common/Attributes.h
@@
-126,7
+126,7
@@
*
* \param[in] SectionIndex Initialization section number where the function should be placed.
*/
*
* \param[in] SectionIndex Initialization section number where the function should be placed.
*/
- #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((naked, section (".init" #SectionIndex )))
+ #define ATTR_INIT_SECTION(SectionIndex) __attribute__ ((
used,
naked, section (".init" #SectionIndex )))
/** Marks a function as an alias for another function.
*
/** Marks a function as an alias for another function.
*