[build] Allow assembler section type character to vary by architecture
authorMichael Brown <mcb30@ipxe.org>
Sun, 13 Mar 2016 11:09:01 +0000 (11:09 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sun, 13 Mar 2016 11:20:53 +0000 (11:20 +0000)
commit1f65ed53da16e383416ae034b585fd52682f5ea7
tree3503be882258c7f371875fbb9dde567f72649fff
parenta8037ee131a9501ddfc89ce157e3718b1a3b86a7
[build] Allow assembler section type character to vary by architecture

On some architectures (such as ARM) the "@" character is used as a
comment delimiter.  A section type argument such as "@progbits"
therefore becomes "%progbits".

This is further complicated by the fact that the "%" character has
special meaning for inline assembly when input or output operands are
used, in which cases "@progbits" becomes "%%progbits".

Allow the section type character(s) to be defined via Makefile
variables.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping
src/arch/x86/Makefile
src/crypto/certstore.c
src/crypto/privkey.c
src/image/embedded.c
src/include/compiler.h
src/include/errno.h