ld: Move the .note.build-id section to near the start of the memory map.
[binutils-gdb.git] / sim / aarch64 / local.mk
bloba5b48ae3315791070346875b7335cd0f5f85b3cb
1 ## See sim/Makefile.am
2 ##
3 ## Copyright (C) 2015-2024 Free Software Foundation, Inc.
4 ## Contributed by Red Hat.
5 ##
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 3 of the License, or
9 ## (at your option) any later version.
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program. If not, see <http://www.gnu.org/licenses/>.
19 nodist_%C%_libsim_a_SOURCES = \
20 %D%/modules.c
21 %C%_libsim_a_SOURCES = \
22 $(common_libcommon_a_SOURCES)
23 %C%_libsim_a_LIBADD = \
24 $(patsubst %,%D%/%,$(SIM_NEW_COMMON_OBJS)) \
25 $(patsubst %,%D%/dv-%.o,$(SIM_HW_DEVICES)) \
26 %D%/cpustate.o \
27 %D%/interp.o \
28 %D%/memory.o \
29 %D%/sim-resume.o \
30 %D%/simulator.o
31 $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
33 noinst_LIBRARIES += %D%/libsim.a
35 ## Override wildcards that trigger common/modules.c to be (incorrectly) used.
36 %D%/modules.o: %D%/modules.c
38 %D%/%.o: common/%.c ; $(SIM_COMPILE)
39 -@am__include@ %D%/$(DEPDIR)/*.Po
41 %C%_run_SOURCES =
42 %C%_run_LDADD = \
43 %D%/nrun.o \
44 %D%/libsim.a \
45 $(SIM_COMMON_LIBS)
47 noinst_PROGRAMS += %D%/run