]> git.ipfire.org Git - thirdparty/gcc.git/commit
Move GNU/Hurd startfile spec from config/i386/gnu.h to config/gnu.h
authorSergey Bugaev <bugaevc@gmail.com>
Sat, 23 Mar 2024 14:35:11 +0000 (17:35 +0300)
committerThomas Schwinge <tschwinge@baylibre.com>
Tue, 9 Apr 2024 07:23:32 +0000 (09:23 +0200)
commit532c57f8c3a15b109a46d3e2b14d60a5c40979d5
tree9c0f570c5990aa6b4368fb60f35bfc99b1f1148e
parentd76df699b8ff792575e9df4d214c21fed0ed3b6b
Move GNU/Hurd startfile spec from config/i386/gnu.h to config/gnu.h

Since it's not i386-specific; this makes it possible to reuse it for other
architectures.

Also, add a warning for the case gnu.h is specified before gnu-user.h, which
would cause gnu-user's version of the spec to override gnu's, and not the other
way around as it's intended. The i?86-gnu target currently specifies them in
the right order, but it's easy to accidentally put them in a wrong order.

gcc/Changelog:

* config/i386/gnu.h: Move GNU/Hurd STARTFILE_SPEC from here...
* config/gnu.h: ...to here.

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
gcc/config/gnu.h
gcc/config/i386/gnu.h