summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/dl08/dl-o5.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2018-12-17 17:48:30 +1100
committerChris Johns <chrisj@rtems.org>2019-02-09 10:06:34 +1100
commita7c6176293b93fdf30abd96f2ae0b12c26b8f982 (patch)
tree60e1664728219fb229fc8ab40da42fbde06c6c78 /testsuites/libtests/dl08/dl-o5.h
parentlibtests/dl02: Update the rtl-shell path. More verbose test. (diff)
downloadrtems-a7c6176293b93fdf30abd96f2ae0b12c26b8f982.tar.bz2
libtest/dl08: Add a test for archives.
- Create 2 archives. - Load 1 object file which loads 6 object files from the libraries. Updates #3686
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/dl08/dl-o5.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/testsuites/libtests/dl08/dl-o5.h b/testsuites/libtests/dl08/dl-o5.h
new file mode 100644
index 0000000000..bb4ce468a2
--- /dev/null
+++ b/testsuites/libtests/dl08/dl-o5.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2018 Chris Johns <chrisj@rtems.org>.
+ * All rights reserved.
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#include <stdint.h>
+
+#if !defined(DL05_H)
+#define DL05_H
+
+/*
+ * A set of variables in dl-o5 referenced by dl-03 and unresolved when dl-o3 is
+ * loaded. They are all uninitialised variables with various sizes in a mixed
+ * order to get various alignments. These and dl-o4 variables are designed to
+ * force the dependent tables to grow.
+ */
+
+extern uint64_t dl05_unresolv_1;
+extern uint16_t dl05_unresolv_2;
+extern uint32_t dl05_unresolv_3;
+extern uint8_t dl05_unresolv_4;
+extern int64_t dl05_unresolv_5;
+
+int rtems_main_o5 (void);
+
+#endif