DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: binutils221: Fix missing section start/end label generation


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Apr 2011 00:28:26 -0700 (PDT)

commit b133d3fde203bbf8e2c359d2be9f09c20ce732b5
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Apr 3 00:23:42 2011 -0700

    binutils221: Fix missing section start/end label generation
    
    * The code to generate section __start_set and __end_set symbols
      was using exp_provide() instead of exp_assign(), and exp_provide()
      appears to silently discard the symbol due to being assigned to '.'
      (the origin).
    
      This resulted in the symbols not being generated in the output file.
    
    * Change to using exp_assign() and pray.

Summary of changes:
 contrib/binutils-2.21/ld/ldlang.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b133d3fde203bbf8e2c359d2be9f09c20ce732b5


-- 
DragonFly BSD source repository



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