i386: Fix up plugin header install on x86 [PR100336]

Message ID 20210501195402.GT1179226@tucnak
State New
Headers show
Series
  • i386: Fix up plugin header install on x86 [PR100336]
Related show

Commit Message

Richard Sandiford via Gcc-patches May 1, 2021, 7:54 p.m.
Hi!

The recent addition of i386-isa.def which is included from i386.h results
in failures to build gcc plugins, the i386.h header is installed, but
i386-isa.def is not.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux and
tested with make install, ok for trunk?

2021-05-01  Jakub Jelinek  <jakub@redhat.com>

	PR target/100336
	* config/i386/t-i386 (TM_H): Add $(srcdir)/config/i386/i386-isa.def.


	Jakub

Comments

Richard Sandiford via Gcc-patches May 2, 2021, 8:06 a.m. | #1
On Sat, May 1, 2021 at 9:54 PM Jakub Jelinek <jakub@redhat.com> wrote:
>

> Hi!

>

> The recent addition of i386-isa.def which is included from i386.h results

> in failures to build gcc plugins, the i386.h header is installed, but

> i386-isa.def is not.

>

> Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux and

> tested with make install, ok for trunk?

>

> 2021-05-01  Jakub Jelinek  <jakub@redhat.com>

>

>         PR target/100336

>         * config/i386/t-i386 (TM_H): Add $(srcdir)/config/i386/i386-isa.def.


OK.

Thanks,
Uros.

> --- gcc/config/i386/t-i386.jj   2021-01-04 10:25:45.428159147 +0100

> +++ gcc/config/i386/t-i386      2021-04-30 11:06:30.176266111 +0200

> @@ -18,7 +18,8 @@

>

>  OPTIONS_H_EXTRA += $(srcdir)/config/i386/stringop.def

>  TM_H += $(srcdir)/config/i386/x86-tune.def \

> -       $(srcdir)/common/config/i386/i386-cpuinfo.h

> +       $(srcdir)/common/config/i386/i386-cpuinfo.h \

> +       $(srcdir)/config/i386/i386-isa.def

>  PASSES_EXTRA += $(srcdir)/config/i386/i386-passes.def

>

>  i386-c.o: $(srcdir)/config/i386/i386-c.c

>

>         Jakub

>

Patch

--- gcc/config/i386/t-i386.jj	2021-01-04 10:25:45.428159147 +0100
+++ gcc/config/i386/t-i386	2021-04-30 11:06:30.176266111 +0200
@@ -18,7 +18,8 @@ 
 
 OPTIONS_H_EXTRA += $(srcdir)/config/i386/stringop.def
 TM_H += $(srcdir)/config/i386/x86-tune.def \
-	$(srcdir)/common/config/i386/i386-cpuinfo.h
+	$(srcdir)/common/config/i386/i386-cpuinfo.h \
+	$(srcdir)/config/i386/i386-isa.def
 PASSES_EXTRA += $(srcdir)/config/i386/i386-passes.def
 
 i386-c.o: $(srcdir)/config/i386/i386-c.c