1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/djgpp-binutils/files/patch-binutils-objcopy.c
Stefan Walter bb8259bba4 Update to 2.17.
PR:		153607
Submitted by:	Pedro Giffuni <giffunip@tutopia.com>
Approved by:	maintainer timeout (~8 months)
2011-09-01 12:33:42 +00:00

13 lines
405 B
C

--- binutils/objcopy.c 2007/06/29 00:34:14 1.115
+++ binutils/objcopy.c 2007/07/02 08:05:06 1.116
@@ -910,8 +910,7 @@
{
asymbol **from = isyms, **to = osyms;
long src_count = 0, dst_count = 0;
- int relocatable = (abfd->flags & (HAS_RELOC | EXEC_P | DYNAMIC))
- == HAS_RELOC;
+ int relocatable = (abfd->flags & (EXEC_P | DYNAMIC)) == 0;
for (; src_count < symcount; src_count++)
{