From 7c3db8ea2e668ae6e482900306d230c4fd0f50bf Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 7 Oct 2004 14:45:23 +0000 Subject: Add linker option: --warn-shared-textrel to produce warnings when adding a DT_TEXTREL to a shared object. --- include/bfdlink.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/bfdlink.h') diff --git a/include/bfdlink.h b/include/bfdlink.h index 5aa72d4b4..db276b02c 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 -- cgit v1.2.3