We have a lot of patches to the ARC port, but I suppose that would not really
be a problem for phase three, as the current arc port in the gcc mainline
is not really useful for end users - it doesn't support any of the cores
that have been released in recent years.

Some patches belong logically to the arc port, but are in common files, so
they have to go in sufficiently early before the release freeze to allow
to verify that no other configurations are affected by typos etc; these files
are:
config-ml.in config.gcc doc/invoke.texi

There remain two issues that require patches to the common code.
Our Copyright Assignment is still not sorted out, so I will refer here
to patches only by Changelog entry, without posting any actual code.

There is an issue with precompiled headers that shows up specifically with the
arc configuration.  Some GTY data structures point to malloced strings in the
arc port.

2007-05-14  J"orn Rennecke  <[EMAIL PROTECTED]>

        Make section xmalloced:
        * c-pch.c (c_common_write_pch): Call pickle_in_section and
        unpickle_in_section.
        (c_common_read_pch): Call unpickle_in_section.
        * varasm.c (unnamed_sections): Remove GTY marker.
        (get_unnamed_section, get_noswitch_section): xmalloc section.
        (pickled_in_section): New static variable.
        (pickle_in_section, unpickle_in_section): New functions.
        * output.h (struct unnamed_section): Mark as GTY((skip)).
        (union section): Mark members unnamed_section and noswitch_section
        as GTY((skip)).
        (text_section, data_section, readonly_data_section): Remove GTY marker.
        (sdata_section, ctors_section, dtors_section, bss_section): Likewise.
        (sbss_section, tls_comm_section, comm_section): Likewise.
        (lcomm_section, bss_noswitch_section, in_section): Likewise.
        (pickle_in_section, unpickle_in_section): Declare.

The following patch should be reworked to avoid code duplication, which will
likely require patches to the frontend and middle-end:

2007-05-29  J"orn Rennecke  <[EMAIL PROTECTED]>

        * config/arc/arc.c (arc_decl_anon_ns_mem_p): New function, copied from
        cp/tree.c .
        (arc_in_small_data_p): Use default_binds_local_p_1 and
        arc_decl_anon_ns_mem_p to determine if a symbol binds locally.

Reply via email to