]> git.ipfire.org Git - thirdparty/gcc.git/commit
libgcc/Makefile.in: Delete dead `MACHMODE_H` variable
authorJohn Ericson <git@JohnEricson.me>
Wed, 16 Jul 2025 19:54:24 +0000 (15:54 -0400)
committerAndrew Pinski <quic_apinski@quicinc.com>
Wed, 16 Jul 2025 23:22:16 +0000 (16:22 -0700)
commit493aae4b034d62054d5e7e54dc06cd9a8be54e29
treeb653e7c97e99bc345486d61703a5cf98c89698c5
parent69d1fb86194c386f17e65cd52476ecf06481677b
libgcc/Makefile.in: Delete dead `MACHMODE_H` variable

This dates back to the creation of top-level `libgcc` in
fa9585134f6f58fa0d3da3ca4ad5493855aea2dc. I strongly suspect that this
does nothing.

Andrew Pinksi adds:

> So looking into this further, MACHMODE_H used part of LIBGCC_DEPS
> because of TM_H and r0-78222-gfa9585134f6f58 moved away from including
> tm.h from libgcc. It was copied over unused.

It is indeed used then.

(For background context, my overall goal here is hoping libgcc can depend on
fewer/no stuff that is generated by `gcc/Makefile`. This is me trying to
pluck some low-hanging fruit -- this is the only direct mention of
`insn-modes.h` in libgcc.)

libgcc/ChangeLog:

* Makefile.in:  Delete dead `MACHMODE_H` variable
libgcc/Makefile.in