diff options
author | Phil Blundell <philb@gnu.org> | 2000-08-04 21:17:36 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2000-08-04 21:17:36 +0000 |
commit | 64d2482108ee933f73bbe79ceb299481467d5480 (patch) | |
tree | 89fcba91bcdcea61a5d5c9a1ecd35d5a6e7f701e | |
parent | 5856ff48f6565391b39f858d8cab3dce684a0cde (diff) | |
download | gdb-64d2482108ee933f73bbe79ceb299481467d5480.zip gdb-64d2482108ee933f73bbe79ceb299481467d5480.tar.gz gdb-64d2482108ee933f73bbe79ceb299481467d5480.tar.bz2 |
2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all
input objects to be ECOFF.
(check_sections): einfo takes %B, not %P, to print a BFD name.
2000-07-31 Rodney Brown <RodneyBrown@pmsc.com>
* configure.tgt: Select targ_emul=elf_i386 for Unixware 7
(i586-sco-sysv5uw7.1.0).
-rw-r--r-- | ld/ChangeLog | 11 | ||||
-rw-r--r-- | ld/configure.tgt | 2 | ||||
-rw-r--r-- | ld/emultempl/mipsecoff.em | 7 |
3 files changed, 18 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 6c950ff..8c827eb 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,14 @@ +2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all + input objects to be ECOFF. + (check_sections): einfo takes %B, not %P, to print a BFD name. + +2000-07-31 Rodney Brown <RodneyBrown@pmsc.com> + + * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 + (i586-sco-sysv5uw7.1.0). + 2000-06-18 Alan Modra <alan@linuxcare.com.au> * NEWS: Update list of targets supporting --gc-sections. diff --git a/ld/configure.tgt b/ld/configure.tgt index 8b23896..534f90c 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -116,7 +116,7 @@ i[3456]86-*-linux-gnu*) targ_emul=elf_i386 targ_extra_emuls=i386linux tdir_i386linux=${targ_alias}aout ;; -i[3456]86-*-sysv4*) targ_emul=elf_i386 ;; +i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;; i[3456]86-*-solaris2*) targ_emul=elf_i386 ;; i[3456]86-*-unixware) targ_emul=elf_i386 ;; i[3456]86-*-solaris*) targ_emul=elf_i386 ;; diff --git a/ld/emultempl/mipsecoff.em b/ld/emultempl/mipsecoff.em index 4c932a1..61ab7d4 100644 --- a/ld/emultempl/mipsecoff.em +++ b/ld/emultempl/mipsecoff.em @@ -69,6 +69,11 @@ gld${EMULATION_NAME}_after_open () { asection *datasec; + /* As first-order business, make sure that each input BFD is ECOFF. It + better be, as we are directly calling an ECOFF backend function. */ + if (bfd_get_flavour (abfd) != bfd_target_ecoff_flavour) + einfo ("%F%B: all input objects must be ECOFF for --embedded-relocs\n"); + datasec = bfd_get_section_by_name (abfd, ".sdata"); /* Note that we assume that the reloc_count field has already @@ -113,7 +118,7 @@ check_sections (abfd, sec, sdatasec) if ((bfd_get_section_flags (abfd, sec) & SEC_CODE) == 0 && sec != (asection *) sdatasec && sec->reloc_count != 0) - einfo ("%P%X: section %s has relocs; can not use --embedded-relocs\n", + einfo ("%B%X: section %s has relocs; can not use --embedded-relocs\n", abfd, bfd_get_section_name (abfd, sec)); } |