summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2020-10-03 09:34:37 +1000
committerChris Johns <chrisj@rtems.org>2020-10-03 13:00:32 +1000
commit74768d25ac76aa1ecb47dc16e307c9bc968abc20 (patch)
treeff18a7c1b42501e29f97b3c3d806ef63f9a89ca3
parent65c3922e9b01da1703b64e3d253ca1af8fb2653f (diff)
downloadrtems-tools-4.11.tar.bz2
rtemstoolkit: Fix gcc warning in rtems-elf4.11
-rw-r--r--rtemstoolkit/rld-elf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/rtemstoolkit/rld-elf.h b/rtemstoolkit/rld-elf.h
index fffe036..3b42f2c 100644
--- a/rtemstoolkit/rld-elf.h
+++ b/rtemstoolkit/rld-elf.h
@@ -185,6 +185,11 @@ namespace rld
section ();
/**
+ * Default assignment operator.
+ */
+ section& operator=(const rld::elf::section&) = default;
+
+ /**
* Add a data segment descriptor to the section if the file is writable.
*
* These are following data types (from elf(3)):