aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2001-10-03 15:11:47 +0000
committerAlan Modra <modra@gmail.com>2001-10-03 15:11:47 +0000
commit34d2d0397582c6ce0d5a4df984a83766cd752c33 (patch)
treea0854a9e08562b333d61af747f735fad8aedd86a
parentebd645e7e65aa46fc5e95fda0b47590f4331fc17 (diff)
downloadnewlib-34d2d0397582c6ce0d5a4df984a83766cd752c33.zip
newlib-34d2d0397582c6ce0d5a4df984a83766cd752c33.tar.gz
newlib-34d2d0397582c6ce0d5a4df984a83766cd752c33.tar.bz2
Add support for -z nocopyreloc.
-rw-r--r--include/ChangeLog4
-rw-r--r--include/bfdlink.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 99bd932..030ebfe 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-03 Vassili Karpov <malc@pulsesoft.com>
+
+ * bfdlink.h (struct bfd_link_info): Add nocopyreloc field.
+
2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libiberty.h (reconcat): New function.
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 9ada606..0865594 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -294,6 +294,10 @@ struct bfd_link_info
and sorted so that relocs against the same symbol come together. */
boolean combreloc;
+ /* True if executable should not contain copy relocs.
+ Setting this true may result in a non-sharable text segment. */
+ boolean nocopyreloc;
+
/* How many spare .dynamic DT_NULL entries should be added? */
unsigned int spare_dynamic_tags;
};