diff options
Diffstat (limited to 'source/compiler/dttable1.c')
-rw-r--r-- | source/compiler/dttable1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/compiler/dttable1.c b/source/compiler/dttable1.c index 4de4a584f560..c8fb71b2b03f 100644 --- a/source/compiler/dttable1.c +++ b/source/compiler/dttable1.c @@ -1518,6 +1518,10 @@ DtCompileIort ( } IortNode->MappingCount = IdMappingNumber; + if (!IdMappingNumber) + { + IortNode->MappingOffset = 0; + } /* * Node length can be determined by DT_LENGTH option |