From 2769554243c43eee9fd5066a5cd770ab89ec47a3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 10 Jun 2021 08:41:05 +0200 Subject: splinkersets01: Test linker sets in library Make sure that the linker sets work if placed in a library (this is how they are used in RTEMS). --- testsuites/sptests/splinkersets01/item-ca.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 testsuites/sptests/splinkersets01/item-ca.c (limited to 'testsuites/sptests/splinkersets01/item-ca.c') diff --git a/testsuites/sptests/splinkersets01/item-ca.c b/testsuites/sptests/splinkersets01/item-ca.c new file mode 100644 index 0000000000..23937db925 --- /dev/null +++ b/testsuites/sptests/splinkersets01/item-ca.c @@ -0,0 +1,21 @@ +/* + * Copyright (c) 2015, 2016 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "splinkersets01.h" + +RTEMS_LINKER_ROSET_ITEM_ORDERED(test_ro, const int *, ca2, OC) = &ca[2]; -- cgit v1.2.3