binutils-gdb/sim/frv
Simon Marchi 1f195bc327 sim: use -Werror when probing for supported warning flags
When building with clang, we get:

    error: unknown warning option '-Wmissing-parameter-type' [-Werror,-Wunknown-warning-option]

This is because clang only warns by default when encountering an unknown
warning option, and the probe for supported warning flags is done
without -Werror.  All flags are therefore accepted by configure, but
then it breaks when actually compiling a source file with -Werror.

This is equivalent to this commit in gdb:

    3e019bdc20
    gdb: Use -Werror when checking for (un)supported warning flags

We then see some other compilation errors when building with clang and
-Werror, they can be dealt with later.
2021-04-21 19:48:35 -04:00
..
aclocal.m4
arch.c
arch.h
cache.c Add system includes in sim 2021-04-08 14:34:42 -06:00
cache.h
ChangeLog sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
config.in
configure sim: use -Werror when probing for supported warning flags 2021-04-21 19:48:35 -04:00
configure.ac
cpu.c
cpu.h
cpuall.h
decode.c
decode.h
frv-sim.h
frv.c Add system includes in sim 2021-04-08 14:34:42 -06:00
interrupts.c Add system includes in sim 2021-04-08 14:34:42 -06:00
Makefile.in
memory.c Add system includes in sim 2021-04-08 14:34:42 -06:00
mloop.in
model.c
options.c
pipeline.c
profile-fr400.c
profile-fr400.h
profile-fr450.c
profile-fr500.c
profile-fr500.h
profile-fr550.c
profile-fr550.h
profile.c Add system includes in sim 2021-04-08 14:34:42 -06:00
profile.h
README
registers.c Add system includes in sim 2021-04-08 14:34:42 -06:00
registers.h
reset.c
sem.c
sim-if.c sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code 2021-04-12 00:14:32 -04:00
sim-main.h
traps.c sim frv: Add a missing return value for frvbf_check_acc_range. 2021-04-15 16:05:41 -07:00

This is the frv simulator directory.

It is still work-in-progress.  The current sources are
well tested and lots of features are in.

There are lots of machine generated files in the source directory!
They are only generated if you configure with --enable-cgen-maint,
similar in behaviour to Makefile.in, configure under automake/autoconf.

For details on the generator, see ../../cgen.