ports/devel/gdb/files/patch-bfd-mmo.c
Pawel Pekala 802fdfe8d7 - Add option to disable TUI
- Correct enabling of all targets, add patches to fix new
  clang build issues raised by this change
- Fix WWW: line

PR:		ports/176103
Submitted by:	Luca Pizzamiglio <luca.pizzamiglio@gmail.com> (maintainer)
2013-03-13 16:15:49 +00:00

29 lines
1,015 B
C

--- bfd/mmo.c.orig 2013-03-11 12:17:57.000000000 +0100
+++ bfd/mmo.c 2013-03-11 12:17:21.000000000 +0100
@@ -663,7 +663,7 @@
return NULL;
if (! sec->user_set_vma)
- bfd_set_section_vma (abfd, sec, vma);
+ (void)bfd_set_section_vma (abfd, sec, vma);
if (! bfd_set_section_flags (abfd, sec,
bfd_get_section_flags (abfd, sec)
| SEC_CODE | SEC_LOAD | SEC_ALLOC))
@@ -677,7 +677,7 @@
return NULL;
if (! sec->user_set_vma)
- bfd_set_section_vma (abfd, sec, vma);
+ (void)bfd_set_section_vma (abfd, sec, vma);
if (! bfd_set_section_flags (abfd, sec,
bfd_get_section_flags (abfd, sec)
| SEC_LOAD | SEC_ALLOC))
@@ -693,7 +693,7 @@
sprintf (sec_name, ".MMIX.sec.%d", abfd->tdata.mmo_data->sec_no++);
sec = mmo_make_section (abfd, sec_name);
if (! sec->user_set_vma)
- bfd_set_section_vma (abfd, sec, vma);
+ (void)bfd_set_section_vma (abfd, sec, vma);
if (! bfd_set_section_flags (abfd, sec,
bfd_get_section_flags (abfd, sec)