]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Fix early-debug relocations
authorAndrew Stubbs <ams@codesourcery.com>
Thu, 22 Oct 2020 12:27:47 +0000 (13:27 +0100)
committerAndrew Stubbs <ams@codesourcery.com>
Sat, 6 Mar 2021 15:57:00 +0000 (15:57 +0000)
commit74171a08a1be64f807632b6d3408c2a17defeadd
tree3bcf048fd714226f679e98df9764769861b8f56c
parentd556f783e9947fece98537f2a335a9af70b52e3b
amdgcn: Fix early-debug relocations

The relocation symbols were inadvertantly wiped when the type was set in
mkoffload.

gcc/ChangeLog

* config/gcn/mkoffload.c (copy_early_debug_info): Don't wipe
relocation symbols.

(cherry picked from commit d24a4c8c4256cc287ebf4ad80368b4f1edb1733e)
gcc/config/gcn/mkoffload.c