From: Alan Modra Date: Wed, 9 Sep 2009 01:38:40 +0000 (+0000) Subject: * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=498199fc743408eb0e6bf6ad326409c5b3fd64a3;p=binutils-gdb.git * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3fd72b41f2e..b0122766619 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2009-09-09 Alan Modra + + * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check. + 2009-09-07 Andreas Schwab * elf32-m68k.c (rtype_to_howto): If the reloc index is out of diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c index 4314a7259d4..9f961dcde23 100644 --- a/bfd/elf32-xtensa.c +++ b/bfd/elf32-xtensa.c @@ -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. */