6809: move data into discard for discard code
authorAlan Cox <alan@linux.intel.com>
Sat, 10 Oct 2015 19:49:05 +0000 (20:49 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 10 Oct 2015 19:49:05 +0000 (20:49 +0100)
Kernel/cpu-6809/rules.mk

index bee4510..bc6a300 100644 (file)
@@ -7,7 +7,7 @@ export CROSS_CC_SEG1=-mcode-section=.text -mfar-code-page=1
 export CROSS_CC_SEG2=-mcode-section=.text2 -mfar-code-page=2
 #Given the compactness we don't need a CODE3 segment really
 export CROSS_CC_SEG3=-mcode-section=.text2 -mfar-code-page=2
-export CROSS_CC_SEGDISC=-mcode-section=.discard -mfar-code-page=3
+export CROSS_CC_SEGDISC=-mcode-section=.discard -mdata-section=.discard -mfar-code-page=3
 export CROSS_CC_VIDEO=-mcode-section=.video -mdata-section=.videodata -mfar-code-page=4
 export ASOPTS=
 export ASMEXT = .s