xref: /illumos-gate/usr/src/test/elf-tests/tests/mapfiles/parser/mapfile.sizemult.wrong (revision bbf215553c7233fbab8a0afdf1fac74c44781867)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2012, Richard Lowe.
14#
15
16
17$mapfile_version 2
18
19
20SYMBOL_VERSION foo {
21    global:
22	common	{
23		  ASSERT = {
24			  TYPE = OBJECT;
25$if _ELF32
26			  SIZE = 2[4];
27$elif _ELF64
28			  SIZE = 4[4];
29$else
30$error unknown platform
31$endif
32			  SH_ATTR = NOBITS;
33			  BINDING = GLOBAL;
34			};
35		};
36
37    local:
38	*;
39};
40