aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/armaout.sc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-11 17:28:43 +0000
committerNick Clifton <nickc@redhat.com>2001-10-11 17:28:43 +0000
commit5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2 (patch)
tree09d9884f3bb995649c43467143fb63ea3d75cb91 /ld/scripttempl/armaout.sc
parent5b784096c949b3916b91aed1bd46d8c353508aa5 (diff)
downloadgdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.zip
gdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.tar.gz
gdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.tar.bz2
Fix arm aout placement of .bss section
Diffstat (limited to 'ld/scripttempl/armaout.sc')
-rw-r--r--ld/scripttempl/armaout.sc6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/armaout.sc b/ld/scripttempl/armaout.sc
index e9276a8..9bae887 100644
--- a/ld/scripttempl/armaout.sc
+++ b/ld/scripttempl/armaout.sc
@@ -20,10 +20,10 @@ SECTIONS
${RELOCATING+__sdata_ = .;}
*(.data)
${CONSTRUCTING+CONSTRUCTORS}
- ${RELOCATING+_edata = .;}
- ${RELOCATING+__edata = .;}
+ ${RELOCATING+_edata = ${DATA_ALIGNMENT};}
+ ${RELOCATING+__edata = ${DATA_ALIGNMENT};}
}
- .bss ${RELOCATING+ SIZEOF(.data) + ADDR (.data)} :
+ .bss ${RELOCATING+${DATA_ALIGNMENT}} :
{
${RELOCATING+ __bss_start = .};
*(.bss)