mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
of basename.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-05-14 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
|
||||||
|
of basename.
|
||||||
|
|
||||||
2005-05-14 Alan Modra <amodra@bigpond.net.au>
|
2005-05-14 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
|
* elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
|
||||||
|
@ -5377,7 +5377,7 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
|
|||||||
{
|
{
|
||||||
bfd_size_type indx;
|
bfd_size_type indx;
|
||||||
|
|
||||||
name = basename (output_bfd->filename);
|
name = lbasename (output_bfd->filename);
|
||||||
def.vd_hash = bfd_elf_hash (name);
|
def.vd_hash = bfd_elf_hash (name);
|
||||||
indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr,
|
indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr,
|
||||||
name, FALSE);
|
name, FALSE);
|
||||||
@ -5600,7 +5600,7 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
|
|||||||
indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr,
|
indx = _bfd_elf_strtab_add (elf_hash_table (info)->dynstr,
|
||||||
elf_dt_name (t->vn_bfd) != NULL
|
elf_dt_name (t->vn_bfd) != NULL
|
||||||
? elf_dt_name (t->vn_bfd)
|
? elf_dt_name (t->vn_bfd)
|
||||||
: basename (t->vn_bfd->filename),
|
: lbasename (t->vn_bfd->filename),
|
||||||
FALSE);
|
FALSE);
|
||||||
if (indx == (bfd_size_type) -1)
|
if (indx == (bfd_size_type) -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user