summaryrefslogtreecommitdiff
path: root/src/glibext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-12-16 21:13:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-12-16 21:13:42 (GMT)
commit04dfbc68e7cd5036017f097a67ba5f0288ddace0 (patch)
tree2cf10137c3c47c1c0877c67b48f7aeb86d9cbfcb /src/glibext
parenta1c2bc0c3b6f4b4fda9c50beeb09a1f699419e2a (diff)
Created operands for resolving symbols in disassembly code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@442 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/glibext')
-rw-r--r--src/glibext/gbuffersegment.c1
-rw-r--r--src/glibext/gbuffersegment.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/glibext/gbuffersegment.c b/src/glibext/gbuffersegment.c
index 1e1a9b9..3d9e5a9 100644
--- a/src/glibext/gbuffersegment.c
+++ b/src/glibext/gbuffersegment.c
@@ -67,6 +67,7 @@ static const char *_segment_names[RTT_COUNT] = {
[RTT_VIRT_ADDR_PAD] = SEGMENT_NAME("virt-addr-padding"),
[RTT_VIRT_ADDR] = SEGMENT_NAME("virt-addr"),
[RTT_RAW_CODE] = SEGMENT_NAME("raw-code"),
+ [RTT_LABEL] = SEGMENT_NAME("label"),
[RTT_INSTRUCTION] = SEGMENT_NAME("instruction"),
[RTT_IMMEDIATE] = SEGMENT_NAME("immediate"),
[RTT_REGISTER] = SEGMENT_NAME("register"),
diff --git a/src/glibext/gbuffersegment.h b/src/glibext/gbuffersegment.h
index 2dd0b6d..f5cd4b2 100644
--- a/src/glibext/gbuffersegment.h
+++ b/src/glibext/gbuffersegment.h
@@ -54,6 +54,8 @@ typedef enum _RenderingTagType
RTT_VIRT_ADDR, /* Adresse virtuelle */
RTT_RAW_CODE, /* Code binaire brut */
+ RTT_LABEL, /* Etiquette sur une adresse */
+
RTT_INSTRUCTION, /* Code binaire brut */
RTT_IMMEDIATE, /* Valeur immédiate */