From: Nadav Har'El <n...@scylladb.com>
Committer: Nadav Har'El <n...@scylladb.com>
Branch: master

ELF: fix typo

I had a typo in the value of DT_FLAGS.
I guess the previous patch worked in practice because DT_FLAGS_1 was also
set by the linker.

Signed-off-by: Nadav Har'El <n...@scylladb.com>

---
diff --git a/include/osv/elf.hh b/include/osv/elf.hh
--- a/include/osv/elf.hh
+++ b/include/osv/elf.hh
@@ -189,7 +189,7 @@ enum {
DT_FINI_ARRAY = 26, // d_ptr Pointer to an array of pointers to termination functions. DT_INIT_ARRAYSZ = 27, // d_val Size, in bytes, of the array of initialization functions. DT_FINI_ARRAYSZ = 28, // d_val Size, in bytes, of the array of termination functions.
-    DT_FLAGS = 28, // value is various flags, bits from DF_*.
+    DT_FLAGS = 30, // value is various flags, bits from DF_*.
     DT_FLAGS_1 = 0x6ffffffb, // value is various flags, bits from DF_1_*.
DT_LOOS = 0x60000000, // Defines a range of dynamic table tags that are reserved for
       // environment-specific use.

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to