mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-16 05:22:03 +08:00
arch specific section support
This commit is contained in:
parent
26b46b1d36
commit
f4cf8f47b1
@ -184,7 +184,11 @@ namespace rld
|
||||
name_ = file_.get_string (shdr.sh_name);
|
||||
data_ = ::elf_getdata (scn, 0);
|
||||
if (!data_)
|
||||
libelf_error ("elf_getdata: " + name_ + '(' + file_.name () + ')');
|
||||
{
|
||||
data_ = ::elf_rawdata (scn, 0);
|
||||
if (!data_)
|
||||
libelf_error ("elf_getdata: " + name_ + '(' + file_.name () + ')');
|
||||
}
|
||||
}
|
||||
|
||||
if (rld::verbose () >= RLD_VERBOSE_FULL_DEBUG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user