This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Add USER_LABEL_PREFIX before __bss_start in elf.sc
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Wed, 23 Jul 2008 18:51:44 +0800
- Subject: [PATCH] Add USER_LABEL_PREFIX before __bss_start in elf.sc
Several symbols in elf.sc already have ${USER_LABEL_PREFIX}. This patch
does the same thing for __bss_start. Is it OK?
Jie
* scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} before __bss_start.
Index: scripttempl/elf.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf.sc,v
retrieving revision 1.85
diff -u -r1.85 elf.sc
--- scripttempl/elf.sc 11 Jan 2008 09:11:17 -0000 1.85
+++ scripttempl/elf.sc 23 Jul 2008 10:46:07 -0000
@@ -440,7 +440,7 @@
${SDATA}
${OTHER_SDATA_SECTIONS}
${RELOCATING+${DATA_END_SYMBOLS-${USER_LABEL_PREFIX}_edata = .; PROVIDE (${USER_LABEL_PREFIX}edata = .);}}
- ${RELOCATING+__bss_start = .;}
+ ${RELOCATING+${USER_LABEL_PREFIX}__bss_start = .;}
${RELOCATING+${OTHER_BSS_SYMBOLS}}
${SBSS}
${BSS_PLT+${PLT}}