Fix loading of lto_section on strict alignment targets (PR lto/91078).
authorMartin Liska <mliska@suse.cz>
Thu, 4 Jul 2019 11:38:28 +0000 (13:38 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 4 Jul 2019 11:38:28 +0000 (11:38 +0000)
commit70980ea225624d49591ae24262c55f2328517b62
tree0595a9730706f417b4efb59cbd789c2e03932b55
parent07c91770f821ae9f6a567fb79b7f2ed675dfeaff
Fix loading of lto_section on strict alignment targets (PR lto/91078).

2019-07-04  Martin Liska  <mliska@suse.cz>

PR lto/91078
* lto-common.c (lto_file_finalize): Use memcpy to set
file_data->lto_section_header.

From-SVN: r273077
gcc/lto/ChangeLog
gcc/lto/lto-common.c