Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -rupN a/binutils/objcopy.c b/binutils/objcopy.c
- --- a/binutils/objcopy.c 2013-11-04 13:33:37.000000000 -0200
- +++ b/binutils/objcopy.c 2015-09-28 11:17:45.809115957 -0300
- @@ -1890,7 +1890,7 @@ copy_object (bfd *ibfd, bfd *obfd, const
- /* Umm, not sure what to do in this case. */
- debuglink_vma = 0x1000;
- - bfd_set_section_vma (obfd, gnu_debuglink_section, debuglink_vma);
- + (void) bfd_set_section_vma (obfd, gnu_debuglink_section, debuglink_vma);
- }
- }
- }
- diff -rupN a/gas/config/obj-elf.c b/gas/config/obj-elf.c
- --- a/gas/config/obj-elf.c 2013-11-04 13:33:37.000000000 -0200
- +++ b/gas/config/obj-elf.c 2015-09-28 11:18:17.489114797 -0300
- @@ -1937,7 +1937,7 @@ obj_elf_init_stab_section (segT seg)
- /* Force the section to align to a longword boundary. Without this,
- UnixWare ar crashes. */
- - bfd_set_section_alignment (stdoutput, seg, 2);
- + (void) bfd_set_section_alignment (stdoutput, seg, 2);
- /* Make space for this first symbol. */
- p = frag_more (12);
- diff -rupN a/gas/subsegs.c b/gas/subsegs.c
- --- a/gas/subsegs.c 2013-11-04 13:33:37.000000000 -0200
- +++ b/gas/subsegs.c 2015-09-28 11:18:48.985113644 -0300
- @@ -67,7 +67,7 @@ subseg_change (register segT seg, regist
- {
- seginfo = (segment_info_type *) xcalloc (1, sizeof (*seginfo));
- seginfo->bfd_section = seg;
- - bfd_set_section_userdata (stdoutput, seg, seginfo);
- + (void) bfd_set_section_userdata (stdoutput, seg, seginfo);
- }
- }
- @@ -169,7 +169,7 @@ subseg_get (const char *segname, int for
- secptr->output_section = secptr;
- seginfo = (segment_info_type *) xcalloc (1, sizeof (*seginfo));
- seginfo->bfd_section = secptr;
- - bfd_set_section_userdata (stdoutput, secptr, seginfo);
- + (void) bfd_set_section_userdata (stdoutput, secptr, seginfo);
- }
- return secptr;
- }
- diff -rupN a/gas/write.c b/gas/write.c
- --- a/gas/write.c 2013-11-04 13:33:38.000000000 -0200
- +++ b/gas/write.c 2015-09-28 11:19:18.833112552 -0300
- @@ -363,7 +363,7 @@ record_alignment (/* Segment to which al
- return;
- if ((unsigned int) align > bfd_get_section_alignment (stdoutput, seg))
- - bfd_set_section_alignment (stdoutput, seg, align);
- + (void) bfd_set_section_alignment (stdoutput, seg, align);
- }
- int
- diff -rupN a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
- --- a/ld/emultempl/armelf.em 2013-11-04 13:33:39.000000000 -0200
- +++ b/ld/emultempl/armelf.em 2015-09-28 11:30:52.697087154 -0300
- @@ -200,7 +200,7 @@ elf32_arm_add_stub_section (const char *
- if (stub_sec == NULL)
- goto err_ret;
- - bfd_set_section_alignment (stub_file->the_bfd, stub_sec, alignment_power);
- + (void) bfd_set_section_alignment (stub_file->the_bfd, stub_sec, alignment_power);
- output_section = input_section->output_section;
- secname = bfd_get_section_name (output_section->owner, output_section);
- diff -rupN a/ld/ldlang.c b/ld/ldlang.c
- --- a/ld/ldlang.c 2013-11-04 13:33:39.000000000 -0200
- +++ b/ld/ldlang.c 2015-09-28 11:20:09.577110694 -0300
- @@ -4831,7 +4831,7 @@ lang_size_sections_1
- " section %s\n"), os->name);
- input = os->children.head->input_section.section;
- - bfd_set_section_vma (os->bfd_section->owner,
- + (void) bfd_set_section_vma (os->bfd_section->owner,
- os->bfd_section,
- bfd_section_vma (input->owner, input));
- os->bfd_section->size = input->size;
- @@ -4916,7 +4916,7 @@ lang_size_sections_1
- os->name, (unsigned long) (newdot - savedot));
- }
- - bfd_set_section_vma (0, os->bfd_section, newdot);
- + (void) bfd_set_section_vma (0, os->bfd_section, newdot);
- os->bfd_section->output_offset = 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement