//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

.section .rodata

.global deserialize_schema_start
.global deserialize_schema_end

deserialize_schema_start:
.incbin ARMNN_SERIALIZER_SCHEMA_PATH
deserialize_schema_end:

//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#if !defined(__MACH__)
.section .rodata
#define EXTERN_ASM
#else
.const_data
#define EXTERN_ASM _
#endif

#define GLUE(a, b) a ## b
#define JOIN(a, b) GLUE(a, b)
#define X(s) JOIN(EXTERN_ASM, s)

.global X(deserialize_schema_start)
.global X(deserialize_schema_end)

X(deserialize_schema_start):
.incbin ARMNN_SERIALIZER_SCHEMA_PATH
X(deserialize_schema_end):

Fix build breaks for armnnDeserializer test
Fix build breaks for armnnDeserializer test

On macosx, the section rodata syntax is a
little bit different, add ifdef __MACH__
to fix that.

Signed-off-by: Keith Mok <55601934c4a00649ed66ddbfab3a717d95d7a73d@gmail.com>
Change-Id: Ic11d6faf8b8d3f3b521fd4305e6cdc3562a1c8ae
