]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, PPC] Clean up symbol stubs code.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Sep 2019 19:24:14 +0000 (19:24 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 22 Sep 2019 19:24:14 +0000 (19:24 +0000)
commit37584e99160d6176ca2b3f23cab23093d9c8a099
tree15072fbaf7e225974a481ea4b6383186e78f8170
parentf7e1c561a554ebf39f3dd697714211fe571882bb
[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.

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