opnsense-ports/devel/djgpp-binutils/files/patch-binutils-objcopy.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 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++)
{