From e3042cb1034e468754057da1fe5b6e8a33900f36 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Tue, 14 Jul 2009 00:34:21 +0400 Subject: elf32: debug32_typevalue - fix TY_OWORD size TY_OWORD is 8 * TY_WORD = 16 bytes length Signed-off-by: Cyrill Gorcunov Signed-off-by: H. Peter Anvin --- output/outelf32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/output/outelf32.c b/output/outelf32.c index 7159a1f..d1c0ec5 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -1580,7 +1580,7 @@ static void debug32_typevalue(int32_t type) stype = STT_OBJECT; break; case TY_OWORD: - ssize = 8; + ssize = 16; stype = STT_OBJECT; break; case TY_COMMON: -- cgit v1.2.3 From 2a3154c4d3846d4256b6a45e805ff3d917fbb195 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 13 Jul 2009 21:25:36 -0400 Subject: ELF: add debug support for TY_YWORD Add debug support for TY_YWORD (256 bits/32 bytes). Signed-off-by: H. Peter Anvin --- output/outelf32.c | 4 ++++ output/outelf64.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/output/outelf32.c b/output/outelf32.c index d1c0ec5..adf6c34 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -1583,6 +1583,10 @@ static void debug32_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; 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; -- cgit v1.2.3 From 44a0d177f09b3e7c5627c3772c9b406254eaaf64 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 13 Jul 2009 21:27:21 -0400 Subject: gitignore: add test results, *.dbg Add test result directories and *.dbg to gitignore. Signed-off-by: H. Peter Anvin --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 11f476e..d68b892 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.bin +*.dbg *.exe *.lst *.o @@ -58,7 +59,9 @@ /regs.c /regs.h /regvals.c +/test/golden /test/perf/*.asm +/test/testresults /tokens.h /tokhash.c /version.h -- cgit v1.2.3