]> git.ipfire.org Git - thirdparty/gcc.git/commit
darwin - use switch_to_section instead of asm output.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 2019 08:07:56 +0000 (08:07 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 May 2019 08:07:56 +0000 (08:07 +0000)
commitb46047afdaeab4f482fd99b0838eae3f0c49eea6
tree6153d78f96920a6902f05cfcf173300673a23053
parenta739732dedc994e0d36fef63b55ff3015b99d705
darwin - use switch_to_section instead of asm output.

We have been emitting two section swiches in the Darwin's
file end function.  This means that varasm is not updated
which could matter if we elect to reorder some of the file
end operations in support of LTO actions.

2019-05-18  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_file_end): Use switch_to_section ()
instead of direct output of the asm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@271369 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin.c