Removed extra byte on embeds.
This commit is contained in:
parent
9753ff753e
commit
a7c1bdc4cd
2 changed files with 1 additions and 2 deletions
|
@ -139,7 +139,6 @@ typedef struct colorS {
|
||||||
".global " IBSTR(name) "_end\n" \
|
".global " IBSTR(name) "_end\n" \
|
||||||
".balign 1\n" \
|
".balign 1\n" \
|
||||||
IBSTR(name) "_end:\n" \
|
IBSTR(name) "_end:\n" \
|
||||||
".byte 0\n" \
|
|
||||||
); \
|
); \
|
||||||
extern __attribute__((aligned(16))) const char name ## _start[]; \
|
extern __attribute__((aligned(16))) const char name ## _start[]; \
|
||||||
extern const char name ## _end[]
|
extern const char name ## _end[]
|
||||||
|
|
|
@ -618,7 +618,7 @@ int main(int argc, char *argv[]) {
|
||||||
free(targetFile);
|
free(targetFile);
|
||||||
if (in != NULL) {
|
if (in != NULL) {
|
||||||
fseek(in, 0, SEEK_END);
|
fseek(in, 0, SEEK_END);
|
||||||
length = ftell(in) + 1; // Without the +1 the linker will overflow the segment.
|
length = ftell(in);
|
||||||
fclose(in);
|
fclose(in);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue