summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit/rld-elf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rtemstoolkit/rld-elf.cpp')
-rw-r--r--rtemstoolkit/rld-elf.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/rtemstoolkit/rld-elf.cpp b/rtemstoolkit/rld-elf.cpp
index ffa3376..b131461 100644
--- a/rtemstoolkit/rld-elf.cpp
+++ b/rtemstoolkit/rld-elf.cpp
@@ -200,18 +200,6 @@ namespace rld
<< std::endl;
}
- section::section (const section& orig)
- : file_ (orig.file_),
- index_ (orig.index_),
- name_ (orig.name_),
- scn (orig.scn),
- shdr (orig.shdr),
- data_ (orig.data_),
- rela (orig.rela),
- relocs (orig.relocs)
- {
- }
-
section::section ()
: file_ (0),
index_ (-1),
@@ -891,6 +879,7 @@ namespace rld
{
if (((stype == STT_NOTYPE) ||
(stype == STT_OBJECT) ||
+ (stype == STT_TLS) ||
(stype == STT_FUNC)) &&
((weak && (sbind == STB_WEAK)) ||
(!unresolved && ((local && (sbind == STB_LOCAL)) ||
@@ -1189,6 +1178,7 @@ namespace rld
{ "m68k", EM_COLDFIRE },
{ "mips", EM_MIPS },
{ "powerpc", EM_PPC },
+ { "powerpc", EM_PPC64 },
#ifndef EM_RISCV
{ "riscv", 243 }, /* If not in libelf yet */
#else