]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix relocations with multiple devices.
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 19 Jul 2019 14:45:07 +0000 (15:45 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:51:25 +0000 (12:51 +0100)
commit4b134d6cd7a9c14976d9f0ed91b23d0cab88bdbe
tree46d26b202d9ed01e64e72f536c7f4d24dc823941
parentbb76aa75296c99ffb79064694165494cc7119eed
Fix relocations with multiple devices.

2019-09-10  Andrew Stubbs  <ams@codesourcery.com>

libgomp/
* plugin/plugin-gcn.c (obstack_chunk_alloc): Delete.
(obstack_chunk_free): Delete.
(obstack.h): Remove include.
(create_and_finalize_hsa_program): Remove all unmodified_sections_os
and use sections directly from the issue.
Use "or 0x80" instead of SHT_NOTE to hide relocations, and then
simply recognise that ourselves.

(cherry picked from openacc-gcc-9-branch commit
9e56738ddf5a5574ee67065096e19e8d73e993e0)
libgomp/ChangeLog.omp
libgomp/plugin/plugin-gcn.c