Created
July 10, 2012 23:12
-
-
Save DavidEGrayson/3086845 to your computer and use it in GitHub Desktop.
Workaround for binutils 2.22 bug 13697 to ensure .data section is not empty.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| static void __attribute__((used)) workaround(void) | |
| { | |
| static volatile unsigned char w = 1; | |
| w++; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=13697