From 261980de18b895d270dc7876d22b706db696e669 Mon Sep 17 00:00:00 2001 From: Dimitar Dimitrov Date: Mon, 10 May 2021 13:58:17 +0100 Subject: [PATCH] PRU: Add alignment for resource table, and allow sizes of memory regions to be set from the command line. ld * scripttempl/pru.sc (.resource_table): Add ALIGN directive. Use symbols for memory sizes. --- ld/ChangeLog | 5 +++++ ld/scripttempl/pru.sc | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index b7a6adc372a..b66e72281ea 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2021-05-10 Dimitar Dimitrov + + * scripttempl/pru.sc (.resource_table): Add ALIGN directive. + Use symbols for memory sizes. + 2021-05-08 Mike Frysinger * Makefile.am (html-local, doc/ld/index.html): New targets. diff --git a/ld/scripttempl/pru.sc b/ld/scripttempl/pru.sc index 08aceaa3b2c..b2c941b7911 100644 --- a/ld/scripttempl/pru.sc +++ b/ld/scripttempl/pru.sc @@ -5,10 +5,14 @@ OUTPUT_ARCH(${ARCH}) EOF test -n "${RELOCATING}" && cat < dmem} -- 2.30.2