diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-03-20 16:04:18 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-03-20 16:04:18 +0000 |
commit | 04b3329bce557f126e01b08767cb0c7ffe9d5d82 (patch) | |
tree | 37673f5a73f34276cddc9690d1c8426c17bccc9a /bfd/elfxx-ia64.c | |
parent | 2512cf80ca5dbaae2d1016604715921e6eecb065 (diff) | |
download | gdb-04b3329bce557f126e01b08767cb0c7ffe9d5d82.zip gdb-04b3329bce557f126e01b08767cb0c7ffe9d5d82.tar.gz gdb-04b3329bce557f126e01b08767cb0c7ffe9d5d82.tar.bz2 |
2003-03-20 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Don't try relax for
non-ELF outputs.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r-- | bfd/elfxx-ia64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 56c2819..d46d78c 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -696,6 +696,10 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again) one pass. */ *again = FALSE; + /* Don't even try to relax for non-ELF outputs. */ + if (link_info->hash->creator->flavour != bfd_target_elf_flavour) + return FALSE; + /* Nothing to do if there are no relocations. */ if ((sec->flags & SEC_RELOC) == 0 || sec->reloc_count == 0) |