libgcc: rs6000: tramp.S: fix placement of .cfi_endproc for __trampoline_setup
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 12 Dec 2018 10:12:36 +0000 (11:12 +0100)
committerRasmus Villemoes <villemoes@gcc.gnu.org>
Wed, 12 Dec 2018 10:12:36 +0000 (10:12 +0000)
commit5a2580b6adef81759269dd01c6c2dd03d155d986
treed7ee5b6b169594613c3c990a77526681e4d4ddb4
parent0c1342dfade9b202cb4b896bf8ce0646dd1d06b8
libgcc: rs6000: tramp.S: fix placement of .cfi_endproc for __trampoline_setup

Currently, .cfi_endproc and FUNC_END(__trampoline_setup) are placed
inside the #else branch of an "#if defined (__VXWORKS__) ...", so
non-pic vxworks does not get proper CFI nor a .size directive for
__trampoline_setup. I assume there's no magic reason for that (which
would warrant a comment), so move them outside.

From-SVN: r267051
libgcc/ChangeLog
libgcc/config/rs6000/tramp.S