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
commita712da2085bdea09bc56b3a59eb31cf2ab024e00 (patch)
tree9d61a41f3e2b546bf10eacd972952c6118c70970 /include/bfdlink.h
parentf4bd37dad4bc492df305f32652ba812fef893420 (diff)
downloadgdb-a712da2085bdea09bc56b3a59eb31cf2ab024e00.zip
gdb-a712da2085bdea09bc56b3a59eb31cf2ab024e00.tar.gz
gdb-a712da2085bdea09bc56b3a59eb31cf2ab024e00.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;