diff options
author | andrew <andrew@FreeBSD.org> | 2013-02-04 06:59:33 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2013-02-04 06:59:33 +0000 |
commit | a191badca4be9f93dc348a040fa425d66aef3a25 (patch) | |
tree | 60ccaff387c494efe154206146c456941abd1870 /contrib/binutils/include | |
parent | a41f9579b9492ffe02266020c79c6ec9b54abdc3 (diff) | |
download | FreeBSD-src-a191badca4be9f93dc348a040fa425d66aef3a25.zip FreeBSD-src-a191badca4be9f93dc348a040fa425d66aef3a25.tar.gz |
Extend GDB to check the value in the .note.tag section along with the
.note.ABI-tag section.
This helps on ARM EABI where the OS/ABI field is zero. It would be better
to use the NOTES program header however this would require a more invasive
change.
Diffstat (limited to 'contrib/binutils/include')
-rw-r--r-- | contrib/binutils/include/elf/common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/binutils/include/elf/common.h b/contrib/binutils/include/elf/common.h index bb50a5c..f2e5022 100644 --- a/contrib/binutils/include/elf/common.h +++ b/contrib/binutils/include/elf/common.h @@ -435,6 +435,10 @@ #define NT_FREEBSD_ABI_TAG 1 +/* Values for FreeBSD .note.tag notes. Note name is "FreeBSD". */ + +#define NT_FREEBSD_TAG 2 + /* These three macros disassemble and assemble a symbol table st_info field, which contains the symbol binding and symbol type. The STB_ and STT_ defines identify the binding and type. */ |