Extend UTF-8 support to the 32-bit mingw host.
authorCostas Argyris <costas.argyris@gmail.com>
Sun, 26 Mar 2023 10:32:13 +0000 (11:32 +0100)
committerJonathan Yong <10walls@gmail.com>
Tue, 28 Mar 2023 08:04:09 +0000 (08:04 +0000)
commit304c7d44a2212e6fd618587331cea2c266dc10bf
tree2bb9b28b5dd59a640314ad0403de6abec29ea056
parentb462947dae9f8c0dd7c11165ccfdf6acd6f12a1c
Extend UTF-8 support to the 32-bit mingw host.

Prevent any name mangling in HOST_EXTRA_OBJS_SYMBOL
such that the linker always finds it by that name.

Also add the .manifest file as an explicit
dependency in the make rule such that the
object gets re-built if it changes.

gcc/ChangeLog:

* config.host: Pull in i386/x-mingw32-utf8 Makefile
fragment and reference utf8rc-mingw32.o explicitly
for mingw hosts.
* config/i386/sym-mingw32.cc: prevent name mangling of
stub symbol.
* config/i386/x-mingw32-utf8: Make utf8rc-mingw32.o
depend on manifest file explicitly.

Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/config.host
gcc/config/i386/sym-mingw32.cc
gcc/config/i386/x-mingw32-utf8