]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/arc/lib/sections.c
arc: Update exception & interrupt handling for ARCv2
[people/ms/u-boot.git] / arch / arc / lib / sections.c
CommitLineData
22723828
AB
1/*
2 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7/*
8 * For some reason linker sets linker-generated symbols to zero in PIE mode.
9 * A work-around is substitution of linker-generated symbols with
10 * compiler-generated symbols which are properly handled by linker in PAE mode.
11 */
12
13char __bss_start[0] __attribute__((section(".__bss_start")));
14char __bss_end[0] __attribute__((section(".__bss_end")));
15char __image_copy_start[0] __attribute__((section(".__image_copy_start")));
16char __image_copy_end[0] __attribute__((section(".__image_copy_end")));
17char __rel_dyn_start[0] __attribute__((section(".__rel_dyn_start")));
18char __rel_dyn_end[0] __attribute__((section(".__rel_dyn_end")));
19char __text_start[0] __attribute__((section(".__text_start")));
20char __text_end[0] __attribute__((section(".__text_end")));
21char __init_end[0] __attribute__((section(".__init_end")));
20a58ac0
IG
22char __ivt_start[0] __attribute__((section(".__ivt_start")));
23char __ivt_end[0] __attribute__((section(".__ivt_end")));