mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
avoid compiler warnings
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Thu Oct 1 17:51:07 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
||||||
|
|
||||||
|
* seclet.c: cast result of bfd_get_relocated_section_contents to
|
||||||
|
avoid compiler warnings
|
||||||
|
|
||||||
Tue Sep 29 13:24:09 1992 Ken Raeburn (raeburn@cygnus.com)
|
Tue Sep 29 13:24:09 1992 Ken Raeburn (raeburn@cygnus.com)
|
||||||
|
|
||||||
* coffcode.h (coff_section_symbol): Create section if it doesn't
|
* coffcode.h (coff_section_symbol): Create section if it doesn't
|
||||||
|
@ -83,7 +83,7 @@ DEFUN(rel,(abfd, seclet, output_section, data),
|
|||||||
&& !(output_section->flags & SEC_NEVER_LOAD)
|
&& !(output_section->flags & SEC_NEVER_LOAD)
|
||||||
&& seclet->size)
|
&& seclet->size)
|
||||||
{
|
{
|
||||||
data = bfd_get_relocated_section_contents(abfd, seclet, data);
|
data = (PTR) bfd_get_relocated_section_contents(abfd, seclet, data);
|
||||||
if(bfd_set_section_contents(abfd,
|
if(bfd_set_section_contents(abfd,
|
||||||
output_section,
|
output_section,
|
||||||
data,
|
data,
|
||||||
|
Reference in New Issue
Block a user