[arch][riscv] Add a space in some linker script logic

For some reason on older binutils the lack of space around the divide
seems to be a problem.
This commit is contained in:
Travis Geiselbrecht
2020-05-17 13:07:23 -07:00
parent 1ae28c2b5b
commit 52862d04c7
2 changed files with 6 additions and 6 deletions

View File

@@ -65,19 +65,19 @@ SECTIONS
* but not aligned to the next section necessarily.
*/
.dummy_post_data : {
. = ALIGN(%BITS%/8);
. = ALIGN(%BITS% / 8);
__data_end = .;
}
/* uninitialized data (in same segment as writable data) */
.bss : ALIGN(%BITS%/8) {
.bss : ALIGN(%BITS% / 8) {
__bss_start = .;
/* regular bss */
*(.bss .bss.*)
*(.sbss .sbss.*)
*(.gnu.linkonce.b.*)
. = ALIGN(%BITS%/8);
. = ALIGN(%BITS% / 8);
__bss_end = .;
}

View File

@@ -66,19 +66,19 @@ SECTIONS
* but not aligned to the next section necessarily.
*/
.dummy_post_data : {
. = ALIGN(%BITS%/8);
. = ALIGN(%BITS% / 8);
__data_end = .;
}
/* uninitialized data (in same segment as writable data) */
.bss : ALIGN(%BITS%/8) {
.bss : ALIGN(%BITS% / 8) {
__bss_start = .;
/* regular bss */
*(.bss .bss.*)
*(.sbss .sbss.*)
*(.gnu.linkonce.b.*)
. = ALIGN(%BITS%/8);
. = ALIGN(%BITS% / 8);
__bss_end = .;
}