mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-01 01:45:51 +08:00
* peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
(coff_bfd_copy_private_bfd_data): Ditto. * coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static. (coff_arm_bfd_print_private_bfd_data): Ditto. (coff_arm_bfd_set_private_flags): Ditto. (coff_arm_bfd_copy_private_bfd_data): Ditto.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
Mon May 26 10:57:48 1997 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
|
* peicode.h (coff_bfd_print_private_bfd_data): #undef before #define.
|
||||||
|
(coff_bfd_copy_private_bfd_data): Ditto.
|
||||||
|
* coff-arm.c (coff_arm_bfd_merge_private_bfd_data): Make static.
|
||||||
|
(coff_arm_bfd_print_private_bfd_data): Ditto.
|
||||||
|
(coff_arm_bfd_set_private_flags): Ditto.
|
||||||
|
(coff_arm_bfd_copy_private_bfd_data): Ditto.
|
||||||
|
|
||||||
Fri May 23 15:14:58 1997 Fred Fish <fnf@cygnus.com>
|
Fri May 23 15:14:58 1997 Fred Fish <fnf@cygnus.com>
|
||||||
|
|
||||||
* libcoff-in.h (struct coff_final_link_info): Add boolean
|
* libcoff-in.h (struct coff_final_link_info): Add boolean
|
||||||
|
@ -488,12 +488,12 @@ coff_arm_adjust_symndx (obfd, info, ibfd, sec, irel, adjustedp)
|
|||||||
attempting to merge binaries compiled for different ARM
|
attempting to merge binaries compiled for different ARM
|
||||||
targets, eg different CPUs or differents APCS's. */
|
targets, eg different CPUs or differents APCS's. */
|
||||||
|
|
||||||
boolean
|
static boolean
|
||||||
coff_arm_bfd_merge_private_bfd_data (ibfd, obfd)
|
coff_arm_bfd_merge_private_bfd_data (ibfd, obfd)
|
||||||
bfd * ibfd;
|
bfd * ibfd;
|
||||||
bfd * obfd;
|
bfd * obfd;
|
||||||
{
|
{
|
||||||
BFD_ASSERT (ibfd != NULL && obfd != NULL)
|
BFD_ASSERT (ibfd != NULL && obfd != NULL);
|
||||||
|
|
||||||
if (ibfd == obfd)
|
if (ibfd == obfd)
|
||||||
return true;
|
return true;
|
||||||
@ -521,7 +521,12 @@ coff_arm_bfd_merge_private_bfd_data (ibfd, obfd)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
SET_APCS_FLAG (obfd, APCS_FLAG (ibfd));
|
{
|
||||||
|
SET_APCS_FLAG (obfd, APCS_FLAG (ibfd));
|
||||||
|
|
||||||
|
/* Set up the arch and fields as well as these are probably wrong */
|
||||||
|
bfd_set_arch_mach (obfd, bfd_get_arch (ibfd), bfd_get_mach (ibfd));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@ -530,7 +535,7 @@ coff_arm_bfd_merge_private_bfd_data (ibfd, obfd)
|
|||||||
|
|
||||||
/* Display the flags field */
|
/* Display the flags field */
|
||||||
|
|
||||||
boolean
|
static boolean
|
||||||
coff_arm_bfd_print_private_bfd_data (abfd, ptr)
|
coff_arm_bfd_print_private_bfd_data (abfd, ptr)
|
||||||
bfd * abfd;
|
bfd * abfd;
|
||||||
PTR ptr;
|
PTR ptr;
|
||||||
@ -555,13 +560,13 @@ coff_arm_bfd_print_private_bfd_data (abfd, ptr)
|
|||||||
the COFF filehdr structure, which contains important,
|
the COFF filehdr structure, which contains important,
|
||||||
target specific information. */
|
target specific information. */
|
||||||
|
|
||||||
boolean
|
static boolean
|
||||||
coff_arm_bfd_set_private_flags (abfd, flags)
|
coff_arm_bfd_set_private_flags (abfd, flags)
|
||||||
bfd * abfd;
|
bfd * abfd;
|
||||||
flagword flags;
|
flagword flags;
|
||||||
{
|
{
|
||||||
int flag;
|
int flag;
|
||||||
|
|
||||||
BFD_ASSERT (abfd != NULL);
|
BFD_ASSERT (abfd != NULL);
|
||||||
|
|
||||||
flag = (flags & F_APCS26) ? F_APCS_26 : 0;
|
flag = (flags & F_APCS26) ? F_APCS_26 : 0;
|
||||||
@ -579,12 +584,12 @@ coff_arm_bfd_set_private_flags (abfd, flags)
|
|||||||
/* Copy the important parts of the target specific data
|
/* Copy the important parts of the target specific data
|
||||||
from one instance of a BFD to another. */
|
from one instance of a BFD to another. */
|
||||||
|
|
||||||
boolean
|
static boolean
|
||||||
coff_arm_bfd_copy_private_bfd_data (src, dest)
|
coff_arm_bfd_copy_private_bfd_data (src, dest)
|
||||||
bfd * src;
|
bfd * src;
|
||||||
bfd * dest;
|
bfd * dest;
|
||||||
{
|
{
|
||||||
BFD_ASSERT (src != NULL && dest != NULL)
|
BFD_ASSERT (src != NULL && dest != NULL);
|
||||||
|
|
||||||
if (src == dest)
|
if (src == dest)
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user