This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/binutils ChangeLog objcopy.c testsuite/Cha ...
- From: hjl at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 13 Apr 2012 02:52:35 -0000
- Subject: src/binutils ChangeLog objcopy.c testsuite/Cha ...
CVSROOT: /cvs/src
Module name: src
Changes by: hjl@sourceware.org 2012-04-13 02:52:35
Modified files:
binutils : ChangeLog objcopy.c
binutils/testsuite: ChangeLog
binutils/testsuite/binutils-all/i386: compressed-1b.d
compressed-1c.d
binutils/testsuite/binutils-all/x86-64: compressed-1b.d
compressed-1c.d
Log message:
Don't generate empty reloc sections
binutils/
PR binutils/13947
* objcopy.c (copy_object): Call copy_relocations_in_section
before copy_section.
(skip_section): New.
(copy_relocations_in_section): Likewise.
(copy_section): Use skip_section. Don't copy relocations here.
binutils/testsuite/
PR binutils/13947
* binutils-all/i386/compressed-1b.d: Remove empty REL section.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Remove empty RELA
section.
* binutils-all/x86-64/compressed-1c.d: Likewise.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1890&r2=1.1891
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/objcopy.c.diff?cvsroot=src&r1=1.154&r2=1.155
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/ChangeLog.diff?cvsroot=src&r1=1.256&r2=1.257
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/i386/compressed-1b.d.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/i386/compressed-1c.d.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/x86-64/compressed-1b.d.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/x86-64/compressed-1c.d.diff?cvsroot=src&r1=1.3&r2=1.4