Reland r167107.
Reland r167107.

Provide THUMB version of pushAllRegisters trampoline when -mthumb is on.

Interworking does not seem to work correctly for component build and pushAllRegisters ends up being called from THUMB code without correct mode switch which causes SIGILL. When the whole Blink is built with -mthumb it is perfectly correct to build pushAllRegisters as thumb code as well (only r4 - r7 need to be saved).

This version relies on CPP directives for conditional compilation instead of using .if/.else.

BUG=

Review URL: https://codereview.chromium.org/169453004

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@167305 bbb929c8-8fbe-4397-9dbb-9b2b20218538

ondra-novak/blink,Pluto-tv/blink-crosswalk,modulexcite/blink,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,jtg-gg/blink,PeterWangIntel/blink-crosswalk,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,ondra-novak/blink,hgl888/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,nwjs/blink,modulexcite/blink,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,kurli/blink-crosswalk,jtg-gg/blink,nwjs/blink,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,nwjs/blink,XiaosongWei/blink-crosswalk,jtg-gg/blink,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,modulexcite/blink,jtg-gg/blink,Bysmyyr/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,nwjs/blink,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,nwjs/blink,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,Bysmyyr/blink-crosswalk,jtg-gg/blink,smishenk/blink-crosswalk,ondra-novak/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,modulexcite/blink,ondra-novak/blink,kurli/blink-crosswalk,nwjs/blink,PeterWangIntel/blink-crosswalk,ondra-novak/blink,Bysmyyr/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,XiaosongWei/blink-crosswalk,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,PeterWangIntel/blink-crosswalk,jtg-gg/blink,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,hgl888/blink-crosswalk-efl,modulexcite/blink,nwjs/blink,jtg-gg/blink,ondra-novak/blink,modulexcite/blink,nwjs/blink,Pluto-tv/blink-crosswalk,crosswalk-project/blink-crosswalk-efl