Lattice Mico32 port

Jon Beniston jon@beniston.com
Tue Sep 22 21:17:00 GMT 2009


> The target-side files now need to use the new GPLv3 exception, 
> not the old GPLv3 one.

Done.

>>         * config/lm32/xm-lm32.h: New file.
>
> As I said before, this file is not needed.  
> It looks like you've removed it; you need to update the ChangeLog entries.

Yep. Sorry.

> Use the GCC-standard fatal_insn instead of inventing your own 
> error-reporting functions 

Done.

> There are several abort () calls elsewhere in the back end 

Done.

> I have not checked whether my previous comments are addressed.

Hopefully I should have addressed them already.

New patch attached. Thanks again for the feedback.

Cheers,
Jon

ChangeLog

gcc/
2009-09-22  Jon Beniston <jon@beniston.com>

        * config.gcc: Add lm32 elf and uclinux 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-fprules-softfp: New file.
        * config/lm32/t-lm32: New file.
        * config/lm32/uclinux-elf.h: New file.
        * doc/invoke.texi: Document lm32 options. 
        * doc/contrib.texi: Document lm32 porter.
        * doc/install.texi: Document lm32 targets.

gcc/testsuite/
2009-09-22  Jon Beniston <jon@beniston.com>

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

libgcc/
2009-09-22  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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm32.patch.090922
Type: application/octet-stream
Size: 123028 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20090922/d82a3b4b/attachment.obj>


More information about the Gcc mailing list