summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-18 16:45:55 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-18 16:45:55 -0400
commit47973aaf0be67cb890759bf6dbc6dac62c3535cd (patch)
treede0685c29e17fc5529bc73d504e8bd011c9aa9fd
parent1842d02112ea5f7fccff7dbeee4d9e2719b360f6 (diff)
Fix o2narc.cpp to work on dinosaur g++
-rw-r--r--tools/o2narc/o2narc.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/tools/o2narc/o2narc.cpp b/tools/o2narc/o2narc.cpp
index 6fc82a4e..1b023640 100644
--- a/tools/o2narc/o2narc.cpp
+++ b/tools/o2narc/o2narc.cpp
@@ -8,16 +8,9 @@
using namespace std;
-static Elf32_Sym NullSym {
- .st_name = -1u,
- .st_value = -1u,
- .st_size = 0
-};
+static Elf32_Sym NullSym { 0 };
-static Elf32_Shdr NullShdr {
- .sh_name = -1u,
- .sh_offset = -1u
-};
+static Elf32_Shdr NullShdr { 0 };
class Symtab : public vector<Elf32_Sym> {
public: