Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/ld/emultempl Remove code that sh...



details:   https://anonhg.NetBSD.org/src/rev/74f492c51c49
branches:  trunk
changeset: 780803:74f492c51c49
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Aug 07 01:09:13 2012 +0000

description:
Remove code that should be have excised a long time ago.

diffstat:

 external/gpl3/binutils/dist/ld/emultempl/elf32.em |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r b060abd792c9 -r 74f492c51c49 external/gpl3/binutils/dist/ld/emultempl/elf32.em
--- a/external/gpl3/binutils/dist/ld/emultempl/elf32.em Mon Aug 06 18:53:08 2012 +0000
+++ b/external/gpl3/binutils/dist/ld/emultempl/elf32.em Tue Aug 07 01:09:13 2012 +0000
@@ -1929,8 +1929,7 @@
            || (!iself && CONST_STRNEQ (secname, ".rel")))
           && (s->flags & SEC_LOAD) != 0)
     place = &hold[orphan_rel];
-  else if ((s->flags & SEC_CODE) == 0
-          && hold[orphan_rodata].os != NULL)
+  else if ((s->flags & SEC_CODE) == 0)
     place = &hold[orphan_rodata];
   else
     place = &hold[orphan_text];



Home | Main Index | Thread Index | Old Index