* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
authorAlan Modra <amodra@gmail.com>
Wed, 9 Sep 2009 01:38:40 +0000 (01:38 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 9 Sep 2009 01:38:40 +0000 (01:38 +0000)
bfd/ChangeLog
bfd/elf32-xtensa.c

index 3fd72b41f2ea284bf3534db336f2b77a2afc45ad..b0122766619571f13889a4db806a80f56c47a20b 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
+
 2009-09-07  Andreas Schwab  <schwab@linux-m68k.org>
 
        * elf32-m68k.c (rtype_to_howto): If the reloc index is out of
index 4314a7259d4aee0364b5e9d002a56afabb6d7887..9f961dcde2387c568572b815aafb9fdb0cb7d376 100644 (file)
@@ -6634,10 +6634,6 @@ elf_xtensa_relax_section (bfd *abfd,
   static bfd_boolean relocations_analyzed = FALSE;
   xtensa_relax_info *relax_info;
 
-  if (link_info->relocatable)
-    (*link_info->callbacks->einfo)
-      (_("%P%F: --relax and -r may not be used together\n"));
-
   if (!relocations_analyzed)
     {
       /* Do some overall initialization for relaxation.  */