H.J. Lu
c398915025
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.
2012-04-13 02:52:34 +00:00
..
2011-04-11 15:12:29 +00:00
2009-09-02 09:35:12 +00:00
2009-09-02 07:25:43 +00:00
2012-04-13 02:52:34 +00:00
2010-10-11 22:18:42 +00:00
2009-09-02 07:25:43 +00:00
2011-10-25 08:03:18 +00:00
2012-04-13 02:52:34 +00:00
2010-01-20 00:09:13 +00:00
2010-01-20 00:09:13 +00:00
2009-10-23 14:53:57 +00:00
2004-10-24 17:49:55 +00:00
2011-05-02 12:47:47 +00:00
1999-05-03 07:29:11 +00:00
2010-11-15 21:05:26 +00:00
2006-05-02 17:46:41 +00:00
2006-04-26 13:37:05 +00:00
2011-01-01 01:56:59 +00:00
2011-01-01 01:56:59 +00:00
2009-03-10 00:48:10 +00:00
2006-05-02 12:17:30 +00:00
2012-02-14 02:40:39 +00:00
2007-08-30 13:47:35 +00:00
2010-10-29 12:10:39 +00:00
2010-10-29 12:10:39 +00:00
2009-09-02 07:25:43 +00:00
2012-02-14 01:00:50 +00:00
2011-06-19 21:22:16 +00:00
2010-11-08 06:43:40 +00:00
2010-11-08 06:43:40 +00:00
2012-04-03 16:01:38 +00:00
2011-07-22 20:22:38 +00:00
2010-01-20 00:09:13 +00:00
2007-04-12 19:20:46 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2010-05-18 03:31:07 +00:00
2002-11-06 19:36:20 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2008-10-03 15:08:22 +00:00
2010-10-23 18:05:10 +00:00
2010-02-18 00:13:30 +00:00
2011-09-16 04:23:19 +00:00
2011-09-16 04:23:19 +00:00
2008-10-03 15:08:22 +00:00
2010-10-29 12:10:39 +00:00
2010-11-02 13:47:44 +00:00
2005-10-19 17:39:43 +00:00
2006-06-24 09:10:04 +00:00
2009-04-16 04:24:07 +00:00
2006-06-23 16:23:09 +00:00
2009-04-16 04:24:07 +00:00
2007-05-11 07:16:28 +00:00
2011-05-18 16:35:03 +00:00
2010-09-23 12:04:37 +00:00
2012-03-13 00:41:22 +00:00
2012-02-25 19:51:34 +00:00
2009-03-11 22:49:54 +00:00
2011-04-28 17:23:17 +00:00
2011-10-04 14:25:40 +00:00
2012-02-01 15:44:30 +00:00
2003-09-30 00:15:54 +00:00
2012-02-02 08:45:03 +00:00
2002-02-20 10:32:47 +00:00
2002-02-20 10:32:47 +00:00
2010-07-19 15:11:03 +00:00
2010-07-19 15:11:03 +00:00
2009-09-23 03:12:28 +00:00
2009-09-23 03:12:28 +00:00
2009-09-23 03:12:28 +00:00
2009-09-23 03:12:28 +00:00
2008-07-10 01:32:23 +00:00
2009-09-02 07:25:43 +00:00
2006-09-14 23:37:35 +00:00
2010-10-23 18:05:10 +00:00
2010-11-08 06:43:40 +00:00
2008-10-01 21:54:59 +00:00
2008-10-01 21:54:59 +00:00
2008-10-01 23:10:48 +00:00
2008-10-03 15:08:22 +00:00
2008-10-02 01:06:12 +00:00
2008-10-03 15:08:22 +00:00
2009-09-23 03:12:28 +00:00
2005-01-04 10:13:02 +00:00
2009-07-16 21:00:09 +00:00
2009-07-16 21:00:09 +00:00
2010-11-15 18:14:11 +00:00
2009-09-07 18:07:02 +00:00
2009-08-06 16:22:36 +00:00
2005-10-19 20:49:03 +00:00
2012-02-11 20:02:03 +00:00
2012-02-14 01:00:50 +00:00