Hacker News new | ask | show | jobs
by taralx 4843 days ago
Works if you add this line:

char main[] __attribute__((section(".text")));

(You get a warning from the assembler.)

1 comments

So it does.

I didn't know gcc attributes included that kind of thing. I've really gotta dig though the manual some time.