This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[vms/committed] Put all *$CODE* sections to $CODE$
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Fri, 6 May 2011 12:44:12 +0200
- Subject: [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}) : {