[PATCH] Add support for Lattice Mico32

Jon Beniston jon@beniston.com
Thu Dec 18 20:47:00 GMT 2008

Hi Joseph, 

> install.texi needs updating as well.


> As a new, soft-float only port you should not need the
> softfp_exclude_libgcc2 := y

Ok, fixed.

setting, and by leaving it out you get these functions from soft-fp.

>>         * gcc.dg/builtins-config.h: lm32 doesn't have the entire 
>>           C99 runtime.
> This should be a property of the library, not the target CPU.  
> uClibc and newlib are already handled in this file 

Yes, you are correct, so I've removed it.



2008-12-18  Jon Beniston <jon@beniston.com>

        * config.host: Add lm32 targets.
        * config/lm32: New directory.
        * config/lm32/t-elf: New file.
        * config/lm32/t-uclinux: New file.

2008-12-18  Jon Beniston <jon@beniston.com>

        * gcc.dg/20020312-2.c: Add lm32 support.
        * g++.old-deja/g++.jason/thunk3.C: Likewise.   
        * g++.dg/other/packed1.C: Expect to fail on lm32.        
        * lib/target-supports.exp (check_profiling_available): lm32 target 
          doesn't support profiling.

2008-12-18  Jon Beniston <jon@beniston.com>

        * config.gcc: Add lm32 elf and linux targets.
        * config/lm32: New directory.
        * config/lm32/arithmetic.c: New file.
        * config/lm32/crti.S: New file.
        * config/lm32/crtn.S: New file.
        * config/lm32/lib1funcs.S: New file.
        * config/lm32/lm32.c: New file.
        * config/lm32/lm32.h: New file.
        * config/lm32/lm32.md: New file.
        * config/lm32/lm32.opt: New file.
        * config/lm32/lm32-protos.h: New file.
        * config/lm32/predicates.md: New file.
        * config/lm32/sfp-machine.h: New file.
        * config/lm32/t-lm32: New file.
        * config/lm32/t-fprules-softfp: New file.
        * config/lm32/uclinux-elf.h: New file.
        * doc/contrib.texi: Add me as contributor.         
        * doc/install.texi: Add lm32 targets.
        * doc/invoke.texi: Add lm32 options. 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm32.patch
Type: application/octet-stream
Size: 125755 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081218/7a4ae26a/attachment.obj>

More information about the Gcc-patches mailing list