]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: aarch64: Introduce the chericap directive
authorMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 29 Jul 2021 14:08:34 +0000 (15:08 +0100)
committerMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 29 Jul 2021 14:08:34 +0000 (15:08 +0100)
commitfb1a9e59cd1657f68d635a427f47751bfe05f64d
tree75057f7b150572ac537f32b83966f2525115edc0
parentd30dd5cf4f30b12a10fbd2214f4a6c5210900d42
gas: aarch64: Introduce the chericap directive

This directive is the equivalent of the capinit directive except that it
allocates space as well as creating a CAPINIT relocation.
It is useful to be added to binutils since LLVM intend to transition
away from using capinit to chericap and this helps enable that
transition.

Here we just emit the required number of zeros into the output file with
md_number_to_chars.  Since we don't have to worry about endianness for a
big zero this is not complicated.
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/morello-chericap.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/morello-chericap.s [new file with mode: 0644]