Browse Source

cris: use DATA_DATA in cris

* Sam Ravnborg (sam@ravnborg.org) wrote:
> From your patch it looks like I originally missed out
> powerpc + xtensa when introducing DATA_DATA - would be nice if
> you could fix that.
>

Use DATA_DATA in CRIS

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Mathieu Desnoyers 18 years ago
parent
commit
5c617c6ff0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      arch/cris/arch-v10/vmlinux.lds.S
  2. 1 1
      arch/cris/arch-v32/vmlinux.lds.S

+ 1 - 1
arch/cris/arch-v10/vmlinux.lds.S

@@ -44,7 +44,7 @@ SECTIONS
 	___data_start = . ;
 	__Sdata = . ;
 	.data : {                     /* Data */
-		*(.data)
+		DATA_DATA
 	}
 	__edata = . ;                 /* End of data section */
 	_edata = . ;

+ 1 - 1
arch/cris/arch-v32/vmlinux.lds.S

@@ -49,7 +49,7 @@ SECTIONS
 	___data_start = . ;
 	__Sdata = . ;
 	.data : {                     /* Data */
-		*(.data)
+		DATA_DATA
 	}
 	__edata = . ;		/* End of data section. */
 	_edata = . ;