Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/binutils/bfd The note fix, apparently broke objcopy...



details:   https://anonhg.NetBSD.org/src/rev/c132d8f30149
branches:  trunk
changeset: 566904:c132d8f30149
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 23 21:12:06 2004 +0000

description:
The note fix, apparently broke objcopy. I will need to re-think this.

diffstat:

 gnu/dist/binutils/bfd/elf.c |  6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diffs (16 lines):

diff -r 485a6cbbc9c1 -r c132d8f30149 gnu/dist/binutils/bfd/elf.c
--- a/gnu/dist/binutils/bfd/elf.c       Sun May 23 21:11:01 2004 +0000
+++ b/gnu/dist/binutils/bfd/elf.c       Sun May 23 21:12:06 2004 +0000
@@ -4105,11 +4105,7 @@
          && strncmp (s->name, ".note", 5) == 0)
        {
          /* We need a PT_NOTE segment.  */
-         /*
-          * XXX: we allocate 2 here, because we can get 2 elf_segment_map's
-          * from it.
-          */
-         segs += 2;
+         ++segs;
        }
     }
 



Home | Main Index | Thread Index | Old Index