binutils-gdb/sim
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
..
aarch64 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
arm sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
avr sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
bfin sim: bfin: add support for SDL2 2021-09-13 22:45:19 -04:00
bpf sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
common sim: drop weak func attrs on module inits 2021-09-28 01:51:38 -04:00
cr16 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cris sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
d10v sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
erc32 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
example-synacor sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
frv sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
ft32 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
h8300 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
igen sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
iq2000 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
lm32 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
m4 sim: bfin: add support for SDL2 2021-09-13 22:45:19 -04:00
m32c sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
m32r sim: m32r: add __linux__ hack for non-Linux hosts 2021-08-22 03:11:16 -04:00
m68hc11 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
mcore sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
microblaze sim: microblaze: replace custom basic types with common ones 2021-09-08 21:32:34 -04:00
mips sim: mips: delete unused PSIZE define 2021-09-09 00:34:21 -04:00
mn10300 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
moxie sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
msp430 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
or1k sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
ppc sim: ppc: drop support for std-config.h overrides 2021-09-09 02:46:35 -04:00
pru sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
riscv sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
rl78 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
rx sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
sh sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
testsuite sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
v850 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
.gitignore sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
aclocal.m4 sim: unify reserved instruction bits settings 2021-07-01 20:53:00 -04:00
arch-subdir.mk.in sim: erc32: merge with common configure script 2021-06-27 01:21:47 -04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
config.h.in sim: bfin: add support for SDL2 2021-09-13 22:45:19 -04:00
configure configure: regenerate in all projects that use libtool.m4 2021-09-27 20:31:24 +01:00
configure.ac sim: update configure target list 2021-09-08 01:24:15 -04:00
MAINTAINERS sim: readd myself as a maintainer 2021-01-29 22:11:45 -05:00
Makefile.am sim: nltvals: switch output mode to a directory 2021-08-19 21:05:28 -04:00
Makefile.in sim: nltvals: switch output mode to a directory 2021-08-19 21:05:28 -04:00
README-HACKING sim: hw: rework configure option & device selection 2021-06-21 21:36:51 -04:00