diff options
author | Nick Clifton <nickc@redhat.com> | 2004-10-07 14:45:24 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-10-07 14:45:24 +0000 |
commit | 8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7 (patch) | |
tree | 7db6d7732dbeb347e63289055f6daa1a8789a974 /include/bfdlink.h | |
parent | 48c9f030c98a3b53b9cb962857ffc16c435a63db (diff) | |
download | gdb-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.zip gdb-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.tar.gz gdb-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.tar.bz2 |
Add linker option: --warn-shared-textrel to produce warnings when adding a
DT_TEXTREL to a shared object.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r-- | include/bfdlink.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h index 5aa72d4..db276b0 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -308,6 +308,9 @@ struct bfd_link_info /* TRUE if PT_GNU_RELRO segment should be created. */ unsigned int relro: 1; + /* TRUE if we should warn when adding a DT_TEXTREL to a shared object. */ + unsigned int warn_shared_textrel: 1; + /* What to do with unresolved symbols in an object file. When producing executables the default is GENERATE_ERROR. When producing shared libraries the default is IGNORE. The |