This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM Thumb
Does that patch makes gcc capable of compiling eCos in thumb mode?
I imagine that that patch will be included on newer than 2001-04-24 snapshots,
isn't it?
> [ Jifl goes to the gcc-patches archive and checks... ]
>
> You'll be displeased to know that the patch only got checked in on Tuesday
> :-). Here's what it was BTW.
>
> 2001-04-24 Nick Clifton <nickc@cambridge.redhat.com>
>
> * dwarf2out.c (mem_loc_descriptor): If a SYMBOL_REF is in the
> constant pool, use the pool's SYMBOL_REF instead.
>
> Index: gcc/dwarf2out.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
> retrieving revision 1.263
> diff -p -r1.263 dwarf2out.c
> *** dwarf2out.c 2001/04/12 01:44:21 1.263
> --- dwarf2out.c 2001/04/20 08:29:03
> *************** mem_loc_descriptor (rtl, mode)
> *** 7117,7122 ****
> --- 7117,7128 ----
> pool. */
> case CONST:
> case SYMBOL_REF:
> + /* Alternatively, the symbol in the constant pool can be referenced
> + by a different symbol. */
> + if (GET_CODE (rtl) == SYMBOL_REF
> + && CONSTANT_POOL_ADDRESS_P (rtl))
> + rtl = get_pool_constant (rtl);
> +
> mem_loc_result = new_loc_descr (DW_OP_addr, 0, 0);
> mem_loc_result->dw_loc_oprnd1.val_class = dw_val_class_addr;
> mem_loc_result->dw_loc_oprnd1.v.val_addr = save_rtx (rtl);
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Rafael Rodríguez Velilla rrv@tid.es
Telefónica I+D http://www.tid.es
Telf: +34 - 91 337 4270