This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[vms/committed] Put all *$CODE* sections to $CODE$


Hi,

this patch makes sure that all *$CODE* sections are moved into the $CODE$ section during link.

Not exact but still more correct than before.

Committed on trunk.

Tristan.

ld/
2011-05-06  Tristan Gingold  <gingold@adacore.com>

	* scripttempl/alphavms.sc (CODE): Add *$CODE*.

RCS file: /cvs/src/src/ld/scripttempl/alphavms.sc,v
retrieving revision 1.3
diff -c -r1.3 alphavms.sc
*** scripttempl/alphavms.sc	21 Apr 2011 12:22:25 -0000	1.3
--- scripttempl/alphavms.sc	6 May 2011 10:41:28 -0000
***************
*** 21,27 ****
    }
    /* RO, executable code.  */
    \$CODE\$ ALIGN (${PAGESIZE}) : {
!     *(\$CODE\$)
    }
    /* RO initialized data.  */
    \$LITERAL\$ ALIGN (${PAGESIZE}) : {
--- 21,27 ----
    }
    /* RO, executable code.  */
    \$CODE\$ ALIGN (${PAGESIZE}) : {
!     *(\$CODE\$ *\$CODE*)
    }
    /* RO initialized data.  */
    \$LITERAL\$ ALIGN (${PAGESIZE}) : {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]