[COMITTED PATCH] cr16-elf: Patch for resolve the local symbols in gas

M R Swami Reddy MR.Swami.Reddy@nsc.com
Mon Jul 27 07:16:00 GMT 2009


Applied the below patch.

-------- Original Message --------
Subject: 	[PATCH] cr16-elf: Patch for resolve the local symbols in gas
Date: 	Thu, 23 Jul 2009 17:49:55 +0530
From: 	M R Swami Reddy <MR.Swami.Reddy@nsc.com>
To: 	binutils@sourceware.org <binutils@sourceware.org>



Hello,
Attached cr16-elf target specific patch for gas and ld to resolve the 
local symbols
in gas and remove the relocs on the same.

I will commit the same by tomorrow, if there no questions/suggestions 
for this patch.

bfd/ChangeLog:
2009-07-23  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * elf32-cr16.c (elf_cr16_final_link_relocate): Add code to handle
        to R_cr16_NUM32 relocation.

gas/ChangeLog:
2009-07-23  M R Swami Reddy <MR.Swami.Reddy@nsc.com>

       * config/tc-cr16.c (md_apply_fix): Put the addend value alone in to
        object file without symbol values.
        (tc_gen_reloc): For local symbols resolved or its absolute 
symbol, then set the
         relocation type as NULL.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-cr16.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090727/54ac2ae2/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elf32-cr16.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20090727/54ac2ae2/attachment-0001.ksh>


More information about the Binutils mailing list