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
This commit is contained in:
Nick Clifton
2000-05-17 19:38:53 +00:00
parent f4bd37dad4
commit a712da2085
9 changed files with 60 additions and 14 deletions

View File

@@ -214,6 +214,7 @@ main (argc, argv)
link_info.callbacks = &link_callbacks;
link_info.relocateable = false;
link_info.emitrelocations = false;
link_info.shared = false;
link_info.symbolic = false;
link_info.static_link = false;
@@ -1150,7 +1151,7 @@ undefined_symbol (info, name, abfd, section, address, fatal)
bfd *abfd;
asection *section;
bfd_vma address;
boolean fatal;
boolean fatal ATTRIBUTE_UNUSED;
{
static char *error_name;
static unsigned int error_count;