aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-09 01:38:40 +0000
committerAlan Modra <amodra@gmail.com>2009-09-09 01:38:40 +0000
commit498199fc743408eb0e6bf6ad326409c5b3fd64a3 (patch)
tree039e74059db12592c32e7b63add39e8ff5b8decd
parent6ff262968ac92614b8a87628207a338cdc27dc25 (diff)
downloadgdb-498199fc743408eb0e6bf6ad326409c5b3fd64a3.zip
gdb-498199fc743408eb0e6bf6ad326409c5b3fd64a3.tar.gz
gdb-498199fc743408eb0e6bf6ad326409c5b3fd64a3.tar.bz2
* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-xtensa.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3fd72b4..b012276 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 4314a72..9f961dc 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. */