summaryrefslogtreecommitdiff
path: root/output/outelf64.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-07-13 21:25:36 -0400
committerH. Peter Anvin <hpa@zytor.com>2009-07-13 21:25:36 -0400
commit2a3154c4d3846d4256b6a45e805ff3d917fbb195 (patch)
treed300c4698ea0de94bcb3c9f1ecba16f84fb7e68c /output/outelf64.c
parente3042cb1034e468754057da1fe5b6e8a33900f36 (diff)
downloadnasm-2a3154c4d3846d4256b6a45e805ff3d917fbb195.tar.gz
nasm-2a3154c4d3846d4256b6a45e805ff3d917fbb195.tar.bz2
nasm-2a3154c4d3846d4256b6a45e805ff3d917fbb195.zip
ELF: add debug support for TY_YWORD
Add debug support for TY_YWORD (256 bits/32 bytes). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'output/outelf64.c')
-rw-r--r--output/outelf64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/output/outelf64.c b/output/outelf64.c
index d049894..a7c51b8 100644
--- a/output/outelf64.c
+++ b/output/outelf64.c
@@ -1632,6 +1632,10 @@ static void debug64_typevalue(int32_t type)
ssize = 16;
stype = STT_OBJECT;
break;
+ case TY_YWORD:
+ ssize = 32;
+ stype = STT_OBJECT;
+ break;
case TY_COMMON:
ssize = 0;
stype = STT_COMMON;