[Darwin, PPC] Clean up symbol stubs code.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 22 Sep 2019 19:24:14 +0000 (19:24 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 22 Sep 2019 19:24:14 +0000 (19:24 +0000)
commitf1c22d660bc467c1816817d1240a0be5a42d1c56
tree15072fbaf7e225974a481ea4b6383186e78f8170
parent0968003dd08a9e9f83bee955bbdc259a781f044f
[Darwin, PPC] Clean up symbol stubs code.

Remove dead code for the the TARGET_LINK_STACK which is not
applicable to Darwin. Use MACHOPIC_PURE instead of a hard-wired
PIC level to determine the stub kind.

Merge common code blocks.

gcc/ChangeLog:

2019-09-22  Iain Sandoe  <iain@sandoe.co.uk>

* config/rs6000/rs6000.c (machopic_output_stub): Remove dead
code.  Merge code blocks with common conditionals. Use declared
macro instead of a magic number for PIC level.

From-SVN: r276030
gcc/ChangeLog
gcc/config/rs6000/rs6000.c