[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-11-05 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #9 from Elad Lahav --- While trying to write a simple test to demonstrate that the suggested patch works I ran into a couple of issues. First, here is the test code: #include #include #if defined(__aarch64__) static long

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #8 from Elad Lahav --- (In reply to Andrew Pinski from comment #7) > The problem with the naked attribute is usually it is not well defined. For > things like interrupts functions and interrupt returns, there is always > plain .s

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 --- Comment #6 from Elad Lahav --- (In reply to Richard Earnshaw from comment #5) > Patches need to be sent to gcc-patc...@gcc.gnu.org. Note, if you've not > contributed to gcc before you'll also need to sort out a copyright > assignment for

[Bug target/77882] [Aarch64] Add 'naked' function attribute

2019-10-28 Thread e2lahav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77882 Elad Lahav changed: What|Removed |Added CC||e2lahav at gmail dot com --- Comment #4