[vms/committed] Put all *$CODE* sections to $CODE$
Tristan Gingold
gingold@adacore.com
Fri May 6 10:44:00 GMT 2011
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}) : {
More information about the Binutils
mailing list