2001-12-18 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.
This commit is contained in:
parent
67a59bc02d
commit
0ac4564efc
@ -1,3 +1,7 @@
|
||||
2001-12-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.
|
||||
|
||||
2001-12-18 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* elf.c (_bfd_elf_copy_private_bfd_data): Update comments.
|
||||
|
@ -784,7 +784,8 @@ _bfd_elf_merge_sections (abfd, info)
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Copy the program header from one object module to another */
|
||||
/* Copy the program header and other data from one object module to
|
||||
another. */
|
||||
|
||||
boolean
|
||||
_bfd_elf_copy_private_bfd_data (ibfd, obfd)
|
||||
@ -799,6 +800,7 @@ _bfd_elf_copy_private_bfd_data (ibfd, obfd)
|
||||
|| (elf_elfheader (obfd)->e_flags
|
||||
== elf_elfheader (ibfd)->e_flags));
|
||||
|
||||
elf_gp (obfd) = elf_gp (ibfd);
|
||||
elf_elfheader (obfd)->e_flags = elf_elfheader (ibfd)->e_flags;
|
||||
elf_flags_init (obfd) = true;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user