This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
.section foo, "a", @progbits .incbin "the_binary_file"
this works. But it is rather an acceptable workaround.
Moreover, I need to use the same trick for different platforms and some platforms' assemblers use '%' instead of '@' (but that's managable).
I think that adding a flag to objcopy that would allow one to set file header flags will be a little bit better.
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |