]> sourceware.org Git - newlib-cygwin.git/commitdiff
Add linker option: --warn-shared-textrel to produce warnings when adding a
authorNick Clifton <nickc@redhat.com>
Thu, 7 Oct 2004 14:45:23 +0000 (14:45 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 7 Oct 2004 14:45:23 +0000 (14:45 +0000)
DT_TEXTREL to a shared object.

include/ChangeLog
include/bfdlink.h

index b6c11568fb4cf510b8294cd3f317a9497f7a9ce6..9ddcc72b22842057f79aefd98373fe7d381aab20 100644 (file)
@@ -1,3 +1,7 @@
+2004-10-07  Jeff Baker  <jbaker@qnx.com>
+
+       * bfdlink.h (bfd_link_info): Add bitfield: warn_shared_textrel.
+
 2004-09-17  Paul Brook  <paul@codesourcery.com>
 
        * elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
index 5aa72d4b4c28d46d43b58032d55b92b7fadaaa52..db276b02c99b32b61bd3cfaa7c3266d86ce09468 100644 (file)
@@ -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
This page took 0.032871 seconds and 5 git commands to generate.