PING [PATCH] Add USER_LABEL_PREFIX before __bss_start in elf.sc

Andreas Schwab schwab@redhat.com
Mon Aug 31 16:21:00 GMT 2009


Jie Zhang <jie.zhang@analog.com> writes:

> I sent this patch one year ago. But there was no response at that time.
>
> http://sourceware.org/ml/binutils/2008-07/msg00290.html
>
> That patch is still applicable on latest CVS HEAD. Is it OK?

There are other symbols that lack ${USER_LABEL_PREFIX}:

    ${RELOCATING+_stack = .;}
  ${RELOCATING+PROVIDE (__${ETEXT_NAME} = .);}
  ${RELOCATING+PROVIDE (_${ETEXT_NAME} = .);}
  ${RELOCATING+PROVIDE (${ETEXT_NAME} = .);}

Also, the unprefixed symbols should probably be PROVIDEd for
compatibility.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Binutils mailing list