aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-17 19:38:53 +0000
committerNick Clifton <nickc@redhat.com>2000-05-17 19:38:53 +0000
commit3092a0cbacffc44a25b923ba1a47ff380be5d425 (patch)
tree6f33caedb673323279cd1d6d90d8c5b48acd620e /include/bfdlink.h
parent8ce9ee83b84bf3c6b4aa2211ba0e951ed4bd7e24 (diff)
downloadnewlib-3092a0cbacffc44a25b923ba1a47ff380be5d425.zip
newlib-3092a0cbacffc44a25b923ba1a47ff380be5d425.tar.gz
newlib-3092a0cbacffc44a25b923ba1a47ff380be5d425.tar.bz2
Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
--emit-relocs switch to the linker to preserve relocs in an output executable
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index bb827a3..2285775 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -179,6 +179,8 @@ struct bfd_link_info
const struct bfd_link_callbacks *callbacks;
/* true if BFD should generate a relocateable object file. */
boolean relocateable;
+ /* true if BFD should generate relocation information in the final executable. */
+ boolean emitrelocations;
/* true if BFD should generate a "task linked" object file,
similar to relocatable but also with globals converted to statics. */
boolean task_link;