arm: Use move-if-change for updating regenerated files [PR93548]
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 3 Feb 2020 17:40:55 +0000 (17:40 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Mon, 3 Feb 2020 17:40:55 +0000 (17:40 +0000)
commit492c63e5b72c3497160e2c2e113fb91644b3570e
tree1e2b685c1139ad325e71be233ef8381d3d4cd36c
parent591f869ad70ba2b5cf1d8a8b57529142cc0d0554
arm: Use move-if-change for updating regenerated files [PR93548]

The t-arm make fragment currently uses 'mv' to update some files that
are automatically regenerated, but this causes problems on read-only
filesystems if the date stamps are incorrect and the files have not
really changed.  So use move-if-change instead.

PR target/93548
* config/arm/t-arm: ($(srcdir)/config/arm/arm-tune.md,
$(srcdir)/config/arm/arm-tables.opt): Use move-if-change.
gcc/ChangeLog
gcc/config/arm/t-arm