Add PowerPC64 ld --tls-get-addr-optimize.
[deliverable/binutils-gdb.git] / ld / emultempl / m68kcoff.em
index 1a95d7cad64fff63d835b179c18f319d6b9ccaa3..d547ad9d48226ee30cf11cc21599e7337904c9f9 100644 (file)
@@ -4,7 +4,7 @@ fragment <<EOF
 /* This file is is generated by a shell script.  DO NOT EDIT! */
 
 /* Handle embedded relocs for m68k.
-   Copyright (C) 2000-2014 Free Software Foundation, Inc.
+   Copyright (C) 2000-2015 Free Software Foundation, Inc.
    Written by Michael Sokolov <msokolov@ivan.Harhan.ORG>, based on generic.em
    by Steve Chamberlain <steve@cygnus.com>, embedded relocs code based on
    mipsecoff.em by Ian Lance Taylor <ian@cygnus.com> (now removed).
@@ -64,7 +64,7 @@ gld${EMULATION_NAME}_after_open (void)
   after_open_default ();
 
   if (! command_line.embedded_relocs
-      || link_info.relocatable)
+      || bfd_link_relocatable (&link_info))
     return;
 
   for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next)
@@ -130,7 +130,7 @@ gld${EMULATION_NAME}_after_allocation (void)
   bfd *abfd;
 
   if (! command_line.embedded_relocs
-      || link_info.relocatable)
+      || bfd_link_relocatable (&link_info))
     return;
 
   for (abfd = link_info.input_bfds; abfd != NULL; abfd = abfd->link.next)
@@ -175,11 +175,11 @@ fragment <<EOF
 {
   *isfile = 0;
 
-  if (link_info.relocatable && config.build_constructors)
+  if (bfd_link_relocatable (&link_info) && config.build_constructors)
     return
 EOF
 sed $sc ldscripts/${EMULATION_NAME}.xu                 >> e${EMULATION_NAME}.c
-echo '  ; else if (link_info.relocatable) return'     >> e${EMULATION_NAME}.c
+echo '  ; else if (bfd_link_relocatable (&link_info)) return' >> e${EMULATION_NAME}.c
 sed $sc ldscripts/${EMULATION_NAME}.xr                 >> e${EMULATION_NAME}.c
 echo '  ; else if (!config.text_read_only) return'     >> e${EMULATION_NAME}.c
 sed $sc ldscripts/${EMULATION_NAME}.xbn                >> e${EMULATION_NAME}.c
@@ -196,9 +196,9 @@ fragment <<EOF
 {
   *isfile = 1;
 
-  if (link_info.relocatable && config.build_constructors)
+  if (bfd_link_relocatable (&link_info) && config.build_constructors)
     return "ldscripts/${EMULATION_NAME}.xu";
-  else if (link_info.relocatable)
+  else if (bfd_link_relocatable (&link_info))
     return "ldscripts/${EMULATION_NAME}.xr";
   else if (!config.text_read_only)
     return "ldscripts/${EMULATION_NAME}.xbn";
This page took 0.033381 seconds and 4 git commands to generate.