From dc3febfa6ef6fa1bc6a9239f85db6faf6006655c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sun, 18 Feb 2001 22:29:52 +0000 Subject: [PATCH] Set the architecture (GDB multiarch needs it). --- bfd/ChangeLog | 5 +++++ bfd/irix-core.c | 3 ++- bfd/po/bfd.pot | 54 ++++++++++++++++++++++++------------------------- 3 files changed, 34 insertions(+), 28 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 945af2ad61b..ec272d347cb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-02-18 Jim Kingdon + + * irix-core.c (irix_core_core_file_p): Set the architecture (GDB + multiarch needs it). + 2001-02-18 H.J. Lu * elflink.h (elf_link_input_bfd): Ignore invalid section symbol diff --git a/bfd/irix-core.c b/bfd/irix-core.c index 006e6a751b1..026e1e03661 100644 --- a/bfd/irix-core.c +++ b/bfd/irix-core.c @@ -165,8 +165,9 @@ irix_core_core_file_p (abfd) idg->i_len + idf->i_len + ids->i_len, 0, idg->i_offset); - + /* OK, we believe you. You're a core file (sure, sure). */ + bfd_default_set_arch_mach (abfd, bfd_arch_mips, 0); return abfd->xvec; } diff --git a/bfd/po/bfd.pot b/bfd/po/bfd.pot index 1e476a93ad6..8f39e074139 100644 --- a/bfd/po/bfd.pot +++ b/bfd/po/bfd.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-02-14 11:05-0800\n" +"POT-Creation-Date: 2001-02-18 14:28-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -478,61 +478,61 @@ msgstr "" msgid "Dwarf Error: Bad abbrev number: %d." msgstr "" -#: ecoff.c:1323 +#: ecoff.c:1329 #, c-format msgid "Unknown basic type %d" msgstr "" -#: ecoff.c:1592 +#: ecoff.c:1598 #, c-format msgid "" "\n" " End+1 symbol: %ld" msgstr "" -#: ecoff.c:1599 ecoff.c:1602 +#: ecoff.c:1605 ecoff.c:1608 #, c-format msgid "" "\n" " First symbol: %ld" msgstr "" -#: ecoff.c:1614 +#: ecoff.c:1620 #, c-format msgid "" "\n" " End+1 symbol: %-7ld Type: %s" msgstr "" -#: ecoff.c:1621 +#: ecoff.c:1627 #, c-format msgid "" "\n" " Local symbol: %ld" msgstr "" -#: ecoff.c:1629 +#: ecoff.c:1635 #, c-format msgid "" "\n" " struct; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1634 +#: ecoff.c:1640 #, c-format msgid "" "\n" " union; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1639 +#: ecoff.c:1645 #, c-format msgid "" "\n" " enum; End+1 symbol: %ld" msgstr "" -#: ecoff.c:1645 +#: ecoff.c:1651 #, c-format msgid "" "\n" @@ -1199,95 +1199,95 @@ msgstr "" msgid "%s: linking UltraSPARC specific with HAL specific code" msgstr "" -#: elf.c:325 +#: elf.c:329 #, c-format msgid "%s: invalid string offset %u >= %lu for section `%s'" msgstr "" -#: elf.c:566 +#: elf.c:570 msgid "" "\n" "Program Header:\n" msgstr "" -#: elf.c:614 +#: elf.c:618 msgid "" "\n" "Dynamic Section:\n" msgstr "" -#: elf.c:743 +#: elf.c:747 msgid "" "\n" "Version definitions:\n" msgstr "" -#: elf.c:766 +#: elf.c:770 msgid "" "\n" "Version References:\n" msgstr "" -#: elf.c:771 +#: elf.c:775 #, c-format msgid " required from %s:\n" msgstr "" -#: elf.c:1359 +#: elf.c:1363 #, c-format msgid "%s: invalid link %lu for reloc section %s (index %u)" msgstr "" -#: elf.c:2113 +#: elf.c:2117 #, c-format msgid "" "creating section symbol, name = %s, value = 0x%.8lx, index = %d, section = " "0x%.8lx\n" msgstr "" -#: elf.c:2716 +#: elf.c:2720 #, c-format msgid "%s: Not enough room for program headers (allocated %u, need %u)" msgstr "" -#: elf.c:2815 +#: elf.c:2819 #, c-format msgid "%s: Not enough room for program headers, try linking with -N" msgstr "" -#: elf.c:2941 +#: elf.c:2945 #, c-format msgid "Error: First section in segment (%s) starts at 0x%x" msgstr "" -#: elf.c:2944 +#: elf.c:2948 #, c-format msgid " whereas segment starts at 0x%x" msgstr "" -#: elf.c:3217 +#: elf.c:3221 #, c-format msgid "%s: warning: allocated section `%s' not in segment" msgstr "" -#: elf.c:3619 +#: elf.c:3623 #, c-format msgid "%s: symbol `%s' required but not present" msgstr "" -#: elf.c:3628 +#: elf.c:3632 #, c-format msgid "" "elf_symbol_from_bfd_symbol 0x%.8lx, name = %s, sym num = %d, flags = " "0x%.8lx%s\n" msgstr "" -#: elf.c:3869 +#: elf.c:3873 #, c-format msgid "%s: warning: Empty loadable segment detected\n" msgstr "" -#: elf.c:5216 +#: elf.c:5253 #, c-format msgid "%s: unsupported relocation type %s" msgstr ""