mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-26 19:44:11 +08:00
2002-06-12 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return false if xvec doesn't match.
This commit is contained in:
parent
9cbea35f25
commit
c4bb8067a5
@ -1,3 +1,8 @@
|
||||
2002-06-12 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return
|
||||
false if xvec doesn't match.
|
||||
|
||||
2002-06-10 Richard Sandiford <rsandifo@redhat.com>
|
||||
|
||||
* ldlang.c (lang_size_sections_1): Skip removed output sections.
|
||||
|
@ -281,6 +281,13 @@ gld${EMULATION_NAME}_try_needed (name, force)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* For DT_NEEDED, they have to match. */
|
||||
if (abfd->xvec != output_bfd->xvec)
|
||||
{
|
||||
bfd_close (abfd);
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Check whether this object would include any conflicting library
|
||||
versions. If FORCE is set, then we skip this check; we use this
|
||||
the second time around, if we couldn't find any compatible
|
||||
|
Loading…
Reference in New Issue
Block a user