aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorMatthieu Longo <matthieu.longo@arm.com>2025-02-20 16:14:03 +0000
committerMatthieu Longo <matthieu.longo@arm.com>2025-03-04 11:02:03 +0000
commit2cf9acb79ffdd1d445eaa492c24825a0bc273536 (patch)
treed627be13bf9deab685375bb66a01db639b516a40 /gdb/ada-lang.c
parentc5f3649c8887ea30f3472e266ef88fe1b7522a84 (diff)
downloadbinutils-2cf9acb79ffdd1d445eaa492c24825a0bc273536.zip
binutils-2cf9acb79ffdd1d445eaa492c24825a0bc273536.tar.gz
binutils-2cf9acb79ffdd1d445eaa492c24825a0bc273536.tar.bz2
aarch64: setup_gnu_properties only creates the notes section when none exists
The creation of .note.gnu.property section should not be based on the presence of GNU properties, but rather on whether this section exits or not. However, there is one exception to this: PR23900 [1]. Old linkers were treating .note.gnu.property as a generic note section, so old objects might contain properties inside .note instead of .note.gnu.property. In this case, the section won't be detected but the properties are still parsed. So the absence of the .note.gnu.property section is necessary but not enough to create the section. The condition of the creation of the section has also to include the absence of GNU properties. [1] PR23900: https://sourceware.org/bugzilla/show_bug.cgi?id=23900
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions