d2q9: replace attribute 'unused' with 'used'
authorSebastian <git@sraa.de>
Wed, 13 Aug 2014 14:28:07 +0000 (14:28 +0000)
committerSebastian <git@sraa.de>
Wed, 13 Aug 2014 14:28:07 +0000 (14:28 +0000)
commit9e2a49e95dd1e38b849ed06ebb6b86969132362b
tree192cee82428c9831bc760ba4bd1500f8119e4a48
parent76c1ecafdea9a2837d54d71bff621dd0e0e3f6b2
d2q9: replace attribute 'unused' with 'used'

While the attribute 'unused' only removes a warning, the
attribute 'used' actually prevents the linker from removing
the object. The objects in question are dummy objects to
prevent the linker from even trying to put anything else there.

Change the Makefile to remove the sections in question (banks 1/2/3)
from the SREC file, since they contain uninitialized data anyway.
d2q9/Makefile
d2q9/esrc/main.c
d2q9/shared.h