xref: /illumos-gate/usr/src/test/elf-tests/tests/mapfiles/parser/mapfile.sizemult.wrong (revision 8222814ef8560ee0ba222eca8ca5acffc6cd0e44)
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