diff --git a/configs/pcblogic-pic32mx/ostest/ld.script b/configs/pcblogic-pic32mx/ostest/ld.script index 25df40f0a19..79bd3783be3 100644 --- a/configs/pcblogic-pic32mx/ostest/ld.script +++ b/configs/pcblogic-pic32mx/ostest/ld.script @@ -191,7 +191,7 @@ SECTIONS */ /* This causes failures if there are no RAM functions - .ramfunc /* ALIGN(2K) */ : + .ramfunc : { _sramfunc = ABSOLUTE(.); *(.ramfunc .ramfunc.*) diff --git a/configs/pic32-starterkit/ostest/ld.script b/configs/pic32-starterkit/ostest/ld.script index 9bdd451753c..4f6b00cd4bb 100644 --- a/configs/pic32-starterkit/ostest/ld.script +++ b/configs/pic32-starterkit/ostest/ld.script @@ -191,7 +191,7 @@ SECTIONS */ /* This causes failures if there are no RAM functions - .ramfunc /* ALIGN(2K) */ : + .ramfunc : { _sramfunc = ABSOLUTE(.); *(.ramfunc .ramfunc.*) diff --git a/configs/sure-pic32mx/ostest/ld.script b/configs/sure-pic32mx/ostest/ld.script index 2da162586f3..e15af9f6c05 100644 --- a/configs/sure-pic32mx/ostest/ld.script +++ b/configs/sure-pic32mx/ostest/ld.script @@ -191,7 +191,7 @@ SECTIONS */ /* This causes failures if there are no RAM functions - .ramfunc /* ALIGN(2K) */ : + .ramfunc : { _sramfunc = ABSOLUTE(.); *(.ramfunc .ramfunc.*)