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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Apr 3 00:29:25 PDT 2011


commit b133d3fde203bbf8e2c359d2be9f09c20ce732b5
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list