binutils-gdb/sim/common
Mike Frysinger cee4c731af sim: drop weak func attrs on module inits
When I first wrote this, I was thinking we'd scan all source files
that existed and generate a complete init list.  That means for any
particular build, we'd probably have a few functions that didn't
exist, so weak attributes was necessary.  What I ended up scanning
though was only the source files that went into a particular build.

There was another concern too: a source file might be included, but
the build settings would cause all of its contents to be skipped
(via CPP defines).  So scanning via naive grep would pick up names
not actually available.  A check of the source tree shows that we
never do this, and it's pretty easy to institute a policy that we
don't start (by at the very least including a stub init func).

The use of weak symbols ends up causing a problem in practice: for
a few modules (like profiling), nothing else pulls it in, so the
linker omits it entirely, which leads to the profiling module never
being available.  So drop the weak markings since we know all these
funcs will be available.
2021-09-28 01:51:38 -04:00
..
callback.c sim: callback: add check for HAVE_KILL 2021-06-29 20:12:57 -04:00
cgen-accfp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-cpu.h
cgen-defs.h sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
cgen-engine.h
cgen-fpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-fpu.h
cgen-mem.h sim: cgen: always leverage the mem prototypes 2021-06-27 10:44:22 -04:00
cgen-ops.h sim: cgen: always leverage the ops prototypes 2021-06-27 10:42:51 -04:00
cgen-par.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
cgen-par.h
cgen-run.c sim: cgen: add asserts to fix unused engine warnings 2021-06-27 10:48:07 -04:00
cgen-scache.c sim: move scache init to dynamic modules.c 2021-06-30 12:41:53 -04:00
cgen-scache.h sim: unify scache settings 2021-06-30 13:33:18 -04:00
cgen-sim.h
cgen-trace.c sim: cgen: suppress trace non-literal printf warning 2021-06-27 10:49:38 -04:00
cgen-trace.h sim: cgen: add printf attributes in a few more calls 2021-06-27 10:46:27 -04:00
cgen-types.h sim: cgen: workaround Windows VOID define 2021-09-09 01:28:58 -04:00
cgen-utils.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
cgen.sh
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
create-version.sh sim: common: simplify version script 2021-01-18 12:25:57 -05:00
defs.h sim: drop arch-specific config.h 2021-06-16 00:22:53 -04:00
dv-cfi.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-cfi.h
dv-core.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-glue.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-pal.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-sockser.c sim: drop old O_NDELAY & FNBLOCK support 2021-09-09 02:24:00 -04:00
dv-sockser.h sim: dv-sockser: localize init callback 2021-05-01 22:46:46 -04:00
gdbinit.in
genmloop.sh sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
gennltvals.py sim: nltvals: switch output mode to a directory 2021-08-19 21:05:28 -04:00
gentmap.c sim: nltvals: localize TARGET_<ERRNO> defines 2021-08-17 21:08:57 -04:00
hw-alloc.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-alloc.h
hw-base.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-base.h
hw-device.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-device.h sim: replace custom attributes with ansidecl.h 2021-05-02 10:58:20 -04:00
hw-events.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-events.h sim: add ATTRIBUTE_PRINTF / ATTRIBUTE_NULL_PRINTF where necessary 2021-05-03 10:55:25 -04:00
hw-handles.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-handles.h
hw-instances.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-instances.h
hw-main.h
hw-ports.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-ports.h
hw-properties.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-properties.h
hw-tree.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
hw-tree.h sim: add ATTRIBUTE_PRINTF / ATTRIBUTE_NULL_PRINTF where necessary 2021-05-03 10:55:25 -04:00
local.mk sim: switch modules.c & version.c to stamp files 2021-06-15 17:06:46 -04:00
Make-common.in sim: drop weak func attrs on module inits 2021-09-28 01:51:38 -04:00
nltvals.def sim: nltvals: unify common syscall tables 2021-04-26 22:39:55 -04:00
nrun.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
portability.c sim: start unifying portability shims 2021-06-12 23:51:35 -04:00
portability.h sim: start unifying portability shims 2021-06-12 23:51:35 -04:00
run.1
sim-abort.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-alu.h
sim-arange.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-arange.h
sim-assert.h
sim-base.h sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-basics.h sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-bits.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-bits.h
sim-close.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-command.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-config.c sim: overhaul & unify endian settings management 2021-06-17 23:20:13 -04:00
sim-config.h sim: delete unused model settings 2021-06-30 03:00:26 -04:00
sim-core.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-core.h
sim-cpu.c sim: namespace sim_machs 2021-06-30 01:52:51 -04:00
sim-cpu.h sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code 2021-04-12 00:14:32 -04:00
sim-endian.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-endian.h sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-engine.c sim: move engine init to dynamic modules.c 2021-06-30 12:28:28 -04:00
sim-engine.h sim: move engine init to dynamic modules.c 2021-06-30 12:28:28 -04:00
sim-events.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-events.h sim: sprinkle some ATTRIBUTE_PRINTF 2021-04-22 12:07:14 -04:00
sim-fpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-fpu.h
sim-hload.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-hrw.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-hw.c sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-hw.h sim: hw: localize init callback 2021-05-04 21:52:38 -04:00
sim-info.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-inline.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-inline.h sim: move UNUSED before TYPE in SIM_ENDIAN_INLINE's definition 2021-06-19 22:49:52 -04:00
sim-io.c sim: drop old O_NDELAY & FNBLOCK support 2021-09-09 02:24:00 -04:00
sim-io.h sim: io: add printf attributes to vprintf funcs too 2021-06-29 02:20:28 -04:00
sim-load.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-memopt.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-memopt.h
sim-model.c sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-model.h sim: move default model to the runtime sim state 2021-06-30 02:57:45 -04:00
sim-module.c sim: move scache init to dynamic modules.c 2021-06-30 12:41:53 -04:00
sim-module.h sim: create header namespace 2021-05-14 00:41:05 -04:00
sim-n-bits.h
sim-n-core.h
sim-n-endian.h
sim-options.c sim: run: change help short option to -h 2021-09-11 02:55:06 -04:00
sim-options.h sim: common: add a version output helper w/copyright+license info 2021-01-04 17:41:23 -05:00
sim-profile.c sim: unify scache settings 2021-06-30 13:33:18 -04:00
sim-profile.h sim: move profile init to dynamic modules.c 2021-06-30 12:38:39 -04:00
sim-reason.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-reg.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-resume.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-run.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
sim-signal.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-signal.h
sim-stop.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-syscall.c sim: syscall: handle killing the sim itself 2021-06-23 20:11:45 -04:00
sim-syscall.h sim: split sim/callback.h include out 2021-06-17 00:11:48 -04:00
sim-trace.c sim: move trace init to dynamic modules.c 2021-06-30 12:34:01 -04:00
sim-trace.h sim: move trace init to dynamic modules.c 2021-06-30 12:34:01 -04:00
sim-types.h
sim-utils.c sim: fully merge sim_state_base into sim_state 2021-05-17 01:05:08 -04:00
sim-utils.h sim: callback: drop unused printf helpers 2021-06-29 02:00:29 -04:00
sim-watch.c sim: split sim-signal.h include out 2021-06-18 00:50:14 -04:00
sim-watch.h sim: watchpoints: use common sim_pc_get 2021-02-06 12:12:51 -05:00
syscall.c sim: callback: add a kill interface 2021-06-23 20:05:14 -04:00
version.h