Messages in this thread |  | | From | Miguel Ojeda <> | Date | Sun, 15 Jan 2023 22:32:38 +0100 | Subject | Re: [PATCH 1/8] Compiler attributes: GCC function alignment workarounds |
| |
On Fri, Jan 13, 2023 at 1:49 PM Mark Rutland <mark.rutland@arm.com> wrote: > > It turns out that was a red herring; GCC is actually implicitly marking the > abort() function as cold, and as Linux's implementation happened to be marked > as weak I assumed that was the culprit.
That and your previous message probably explains probably why I couldn't reproduce it.
Thanks a lot for all the details -- the `cold` issue is reproducible since gcc 4.6 at least: https://godbolt.org/z/PoxazzT9T
The `abort` case appears to happen since gcc 8.1.
Cheers, Miguel
|  |