diff options
author | Stephen Hines <srhines@google.com> | 2020-08-21 12:12:46 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2020-08-21 12:17:12 -0700 |
commit | c68ec152d1ed97a0b34a766997232d64263ee91e (patch) | |
tree | 26c38b5820356ae3689403cfcca9c040022d4f8b /libc/malloc_hooks/malloc_hooks.cpp | |
parent | 3ec750e035db74f954ee25c5f9f4357490fe2224 (diff) |
Fix issues with .note.GNU-stack section directives.
bionic/libm/x86_64/s_log1p.S:809:2: error: changed section type for .note.GNU-stack, expected: 0x1
.section .note.GNU-stack, ""
^
These assembly sources are missing @progbits to set the section flags
correctly. Without it, they end up denoting a different section type. By
adding the @progbits explicitly, we see the same section flags with
readelf.
[ 4] .note.GNU-stack PROGBITS 0000000000000000 000593 000000 00 0 0 1
Bug: http://b/155835175
Test: m for aosp_x86_64
Change-Id: Ifff35d35f5f9ded5938e88677b18805809820e9f
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions