[PR87833] x86: Put -fPIC and -shared the last to create offload image
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 11 Nov 2019 08:38:28 +0000 (00:38 -0800)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Mon, 11 Nov 2019 08:38:28 +0000 (09:38 +0100)
commitad65b4272994a2d216b836f67fcad7727e219d62
tree077a9a7cad274fb19b8e91e8c7dd5ceb4ac896b4
parentd9945c8842ed2731285a7be0b80ea6f3e50190ee
[PR87833] x86: Put -fPIC and -shared the last to create offload image

On x86, since -fPIC and -shared should be used to create offload image,
we put them the last to properly create offload image.

2019-11-11  H.J. Lu  <hjl.tools@gmail.com>

PR target/87833
* config/i386/intelmic-mkoffload.c (prepare_target_image): Put
-fPIC and -shared the last to create offload image.

From-SVN: r278041
gcc/ChangeLog
gcc/config/i386/intelmic-mkoffload.c