]> sourceware.org Git - newlib-cygwin.git/commitdiff
PR ld/13254
authorAlan Modra <modra@gmail.com>
Wed, 19 Oct 2011 04:13:27 +0000 (04:13 +0000)
committerAlan Modra <modra@gmail.com>
Wed, 19 Oct 2011 04:13:27 +0000 (04:13 +0000)
include/
* bfdlink.h (struct bfd_link_info): Add error_textrel.
bfd/
* elflink.c (bfd_elf_final_link): Emit error_textrel error.
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
-z text, -z notext, -z textoff options for all targets having
shared lib support.

include/ChangeLog
include/bfdlink.h

index e2d1be1ee870c6a91fd2dc0998b665e1475ed6b7..b5d2d72d2512681b94b58e3455b4e6e7c33044ff 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-19  Alan Modra  <amodra@gmail.com>
+
+       PR ld/13254
+       * bfdlink.h (struct bfd_link_info): Add error_textrel.
+
 2011-09-28  Doug Evans  <dje@google.com>
 
        * timeval-utils.h: New file.
index c9e127c5c9995230968ca5c625c005fb08c42720..be853295ada0d3eba4c26a693dfada30b243c5c5 100644 (file)
@@ -337,6 +337,9 @@ struct bfd_link_info
   /* TRUE if we should warn when adding a DT_TEXTREL to a shared object.  */
   unsigned int warn_shared_textrel: 1;
 
+  /* TRUE if we should error when adding a DT_TEXTREL.  */
+  unsigned int error_textrel: 1;
+
   /* TRUE if .hash section should be created.  */
   unsigned int emit_hash: 1;
 
This page took 0.036813 seconds and 5 git commands to generate.