]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Remove -mlocal-symbol-id option
authorAndrew Stubbs <ams@codesourcery.com>
Tue, 2 Jun 2020 13:41:21 +0000 (14:41 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Tue, 2 Jun 2020 14:35:56 +0000 (15:35 +0100)
commitd3b6767dce45a7100e4cc32d2986a55f09a2cce2
tree2f8f0b8e8f26b8b3c8b4b20eb3006ebb7753f085
parent4b6dcfd542aed2d14a0bcd2bee116d0779cc1d48
amdgcn: Remove -mlocal-symbol-id option

This patch removes the obsolete -mlocal-symbol-id option.  This was used to
control mangling of local symbol names in order to work around a ROCm runtime
bug, but that has not been needed in some time, and the mangling was removed
already.

gcc/ChangeLog:

* config/gcn/gcn-hsa.h (CC1_SPEC): Delete.
* config/gcn/gcn.opt (-mlocal-symbol-id): Delete.
* config/gcn/mkoffload.c (main): Don't use -mlocal-symbol-id.

gcc/testsuite/ChangeLog:

* gcc.dg/intermod-1.c: Don't use -mlocal-symbol-id.
gcc/config/gcn/gcn-hsa.h
gcc/config/gcn/gcn.opt
gcc/config/gcn/mkoffload.c
gcc/testsuite/gcc.dg/intermod-1.c