summaryrefslogtreecommitdiff
path: root/rtemstoolkit/rld-elf.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-05-08 15:09:43 +1000
committerChris Johns <chrisj@rtems.org>2018-06-15 15:54:25 +1000
commit3618a62faf8c4a8cad51779368d091f0480450fd (patch)
treeb4f07abdfbc7861fed577e68e358372bcfea171a /rtemstoolkit/rld-elf.h
parentdbb56a823cb8483c1c4e09031729975fa8edc047 (diff)
rtemstoolkit/elf: Add data size and endian support to the ELF interface.
Diffstat (limited to 'rtemstoolkit/rld-elf.h')
-rw-r--r--rtemstoolkit/rld-elf.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/rtemstoolkit/rld-elf.h b/rtemstoolkit/rld-elf.h
index 92e92c1..4919135 100644
--- a/rtemstoolkit/rld-elf.h
+++ b/rtemstoolkit/rld-elf.h
@@ -655,6 +655,16 @@ namespace rld
*/
void reference_release ();
+ /**
+ * Get the machine size in bytes.
+ */
+ size_t machine_size () const;
+
+ /**
+ * Returns true if little endian.
+ */
+ bool is_little_endian () const;
+
private:
/**