gcc/contrib
Richard Earnshaw a92ffb3e94 [arm] Replace command-line option .def files with single definition file
The files arm-cores.def, arm-fpus.def and arm-arches.def are parsed and
used in several places and the format is slightly awkward to maintain
as they must be parsable in C and by certain scripts.  Furthermore,
changes to the content that affects every entry is particularly awkward for
dealing with merges.

This patch replaces all three files with a single file that specifies all
the command-line related definitions in a new format that allows for better
checking for consistency as well as (hopefully) easier to merge changes.

The awk script used to parse it is relatively complicated, but should be
pretty portable.  It works by parsing in all the data and then operating
one of a number of possible sub-commands to generate the desired output.

The new method picked up one error.  The CPU descriptions referred to an
architecture ARMv5tej which was not supported by -march.  This has been
fixed by adding the relevant entry to the architecture list.

gcc:
	* config.gcc: Use new awk script to check CPU, FPU and architecture
	parameters for --with-... options.
	* config/arm/parsecpu.awk: New file
	* config/arm/arm-cpus.in: New file.
	* config/arm/arm-opts.h: Include arm-cpu.h instead of processing .def
	files.
	* config/arm/arm.c: Include arm-cpu-data.h instead of processing .def
	files.
	* config/arm/t-arm: Update dependency rules.
	* common/config/arm/arm-common.c: Include arm-cpu-cdata.h instead
	of processing .def files.
	* config/arm/genopt.sh: Deleted.
	* config/arm/gentune.sh: Deleted.
	* config/arm/arm-cores.def: Deleted.
	* config/arm/arm-arches.def: Deleted.
	* config/arm/arm-fpus.def: Deleted.
	* config/arm/arm-tune.md: Regenerated.
	* config/arm/arm-tables.opt: Regenerated.
	* config/arm/arm-cpu.h: New generated file.
	* config/arm/arm-cpu-data.h: New generated file.
	* config/arm/arm-cpu-cdata.h: New generated file.

Contrib:
	* gcc_update: Adjust touch list.

From-SVN: r244316
2017-01-11 14:39:00 +00:00
..
header-tools remove avr-rtems support 2016-06-21 21:57:44 +00:00
reghunt
regression
testsuite-management
ChangeLog [arm] Replace command-line option .def files with single definition file 2017-01-11 14:39:00 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
analyze_brprob.py Enhance analyze_brprob script 2016-12-14 10:30:24 +00:00
analyze_brprob_spec.py Enhance analyze_brprob script 2016-12-14 10:30:24 +00:00
check_GNU_style.sh [check_GNU_style.sh] More aggressively ignore dg-xxx directives 2016-10-24 11:23:36 +00:00
check_makefile_deps.sh
check_warning_flags.sh
clang-format clang-format: split content of a list to multiple lines 2015-11-20 12:24:34 +00:00
compare-all-tests config.guess: Remove SH5 support. 2016-04-30 09:11:03 +00:00
compare-debug
compareSumTests3
compare_tests Report DejaGnu ERROR messages in compare_tests 2016-09-20 22:14:14 +02:00
compare_two_ftime_report_sets
config-list.mk remove mep-* support 2016-06-21 21:57:49 +00:00
dg-cmp-results.sh
dg-extract-results.py Report DejaGnu ERROR messages in dg-extract-results. 2016-09-20 22:15:30 +02:00
dg-extract-results.sh Revert bogus dg-extract-results.sh change 2016-09-23 11:35:34 +00:00
dglib.pm
download_prerequisites download_prerequisites: Conditionally verify checksums of downloaded pacakges. 2016-10-24 10:05:48 -06:00
filter_gcc_for_doxygen
filter_knr2ansi.pl
filter_params.pl
gcc.doxy
gcc_build
gcc_update [arm] Replace command-line option .def files with single definition file 2017-01-11 14:39:00 +00:00
gen_autofdo_event.py Add gcc-auto-profile script 2016-06-23 14:33:53 +00:00
gennews * gennews (files): Add files for GCC 6. 2016-04-27 09:48:34 +02:00
gimple.vim Add new script to contrib (GIMPLE syntax highlighting rules for Vim). 2015-05-30 05:44:17 +00:00
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
make-obstacks-texi.pl
make_sunver.pl
mark_spam.py mark_spam.py: Mark as spam all comments done by a creator 2016-08-17 10:30:54 +00:00
mklog teach mklog to look in the current directory for ChangeLog files 2016-03-06 17:36:19 +00:00
paranoia.cc
patch_tester.sh
prepare_patch.sh
prerequisites.md5 download_prerequisites: Conditionally verify checksums of downloaded pacakges. 2016-10-24 10:05:48 -06:00
prerequisites.sha512 download_prerequisites: Conditionally verify checksums of downloaded pacakges. 2016-10-24 10:05:48 -06:00
repro_fail
test_installed test_installed (--target=): New option. 2015-06-02 17:12:16 +00:00
test_recheck
test_summary
texi2pod.pl texi2pod.pl: Escape braces in regexp involving @strong{...}. 2015-08-04 18:15:45 +02:00
uninclude * uninclude: Fix third argument to gensub. 2016-01-19 22:00:17 +00:00
update-copyright.py update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty, libssp, libvtv and lto-plugin to default_dirs. 2017-01-04 18:14:18 +01:00
vimrc vimrc: fix TAB settings 2017-01-05 08:54:58 +00:00
warn_summary