aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-13 22:14:10 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-14 20:43:40 -0500
commit5fda40b28fb6ed86d76af1af68f61f3c016d3a26 (patch)
tree6043b6c5afb154ca0fb98eaaab8b484cebeb17e6 /gas/read.c
parent5aa06b1b14d46377b7218f16ba5efcab5829b917 (diff)
downloadgdb-5fda40b28fb6ed86d76af1af68f61f3c016d3a26.zip
gdb-5fda40b28fb6ed86d76af1af68f61f3c016d3a26.tar.gz
gdb-5fda40b28fb6ed86d76af1af68f61f3c016d3a26.tar.bz2
gas: make [248]byte directives available everywhere
These aren't specific to ELF at all, and seem generally useful. So pull them out of the ELF backend and into the common core.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index be6e3e0..06ca7fb 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -530,6 +530,9 @@ static const pseudo_typeS potable[] = {
{"weakref", s_weakref, 0},
{"word", cons, 2},
{"zero", s_space, 0},
+ {"2byte", cons, 2},
+ {"4byte", cons, 4},
+ {"8byte", cons, 8},
{NULL, NULL, 0} /* End sentinel. */
};