On Thu, 02 Apr 2020, Tracey Emery wrote:
> On Mon, Mar 30, 2020 at 11:18:39AM -0600, Tracey Emery wrote:
> > Hello,
> >
> > This updates the xtensa-lx106-elf gcc-bootstrap and gcc parts to 5.2.0.
> > I've also set the whole port to be broken on sparc64, so parts aren't
> > built and put into packages, since just parts of the toolchain are
> > worthless.
> >
> > Built and used on amd64 and i386.
> >
> > OK?
> >
> > --
> >
> > Tracey Emery
>
> I added a slight tweak to remove gcc-bootstrap as a RUN_DEPENDS for
> newlibs. This was inspired by a diff for esp32, which Claudio sent to me
> earlier. As he accurately states, "This compiler is only used to
> bootstrap newlib since the real compiler depends on newlib."
It works just fine for me.
Tested with some weemos lolin (d1_mini) on some rather simple projects
that include wifi, ntp, uart and interaction with shift registers.
ok paco.
> --
>
> Tracey Emery
>
> Index: devel/xtensa-lx106-elf/Makefile.inc
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/Makefile.inc,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 Makefile.inc
> --- devel/xtensa-lx106-elf/Makefile.inc 12 Mar 2020 15:05:19 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/Makefile.inc 2 Apr 2020 21:37:35 -0000
> @@ -1,5 +1,7 @@
> # $OpenBSD: Makefile.inc,v 1.1.1.1 2020/03/12 15:05:19 tracey Exp $
>
> +BROKEN-sparc64 = 'in gcc-bootstrap multiple wide-int.h:370:10: error: too many template-parameter-lists'
> +
> CONFIG = xtensa-lx106-elf
> CATEGORIES += devel
>
> Index: devel/xtensa-lx106-elf/gcc/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/Makefile,v
> retrieving revision 1.2
> diff -u -p -r1.2 Makefile
> --- devel/xtensa-lx106-elf/gcc/Makefile 23 Mar 2020 14:12:31 -0000 1.2
> +++ devel/xtensa-lx106-elf/gcc/Makefile 2 Apr 2020 21:37:35 -0000
> @@ -2,14 +2,13 @@
>
> COMMENT = gcc for ${CONFIG} cross-development
>
> -VERSION = 4.8.5
> +VERSION = 5.2.0
> DISTNAME = gcc-${VERSION}
> PKGNAME = ${CONFIG}-gcc-${VERSION}
> -REVISION = 0
>
> GH_ACCOUNT = jcmvbkbc
> GH_PROJECT = gcc-xtensa
> -GH_COMMIT = 81033786686bcee08e68583ea8fb3408bdff034a
> +GH_COMMIT = 4a86aa4eb36ae95cf42f99251965f4a3a8f45f88
>
> WANTLIB = ${COMPILER_LIBCXX} c gmp m mpc mpfr
>
> Index: devel/xtensa-lx106-elf/gcc/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/distinfo,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 distinfo
> --- devel/xtensa-lx106-elf/gcc/distinfo 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/distinfo 2 Apr 2020 21:37:35 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (gcc-4.8.5-81033786.tar.gz) = IMLnQYvcTk0LqWR6SyrE6/2EMSYPXWqPwevVGCPMESQ=
> -SIZE (gcc-4.8.5-81033786.tar.gz) = 101104872
> +SHA256 (gcc-5.2.0-4a86aa4e.tar.gz) = +DPg9+K3TGSwIgVSxakPLQ/iIiXtZtMci23XzjEPFyo=
> +SIZE (gcc-5.2.0-4a86aa4e.tar.gz) = 111991337
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_bitmap_c
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_bitmap_c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_bitmap_c
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_bitmap_c 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_bitmap_c 2 Apr 2020 21:37:35 -0000
> @@ -3,25 +3,23 @@ $OpenBSD: patch-gcc_bitmap_c,v 1.1.1.1 2
> Index: gcc/bitmap.c
> --- gcc/bitmap.c.orig
> +++ gcc/bitmap.c
> -@@ -2159,9 +2159,9 @@ print_statistics (void **slot, void *b)
> +@@ -2170,8 +2170,8 @@ print_statistics (bitmap_descriptor_d **slot, bitmap_o
> + sprintf (s, "%s:%i (%s)", s1, d->line, d->function);
> s[41] = 0;
> fprintf (stderr,
> - "%-41s %9u"
> -- " %15"HOST_WIDEST_INT_PRINT"d %15"HOST_WIDEST_INT_PRINT"d"
> -- " %15"HOST_WIDEST_INT_PRINT"d"
> -- " %10"HOST_WIDEST_INT_PRINT"d %10"HOST_WIDEST_INT_PRINT"d\n",
> -+ " %15" HOST_WIDEST_INT_PRINT"d %15" HOST_WIDEST_INT_PRINT"d"
> -+ " %15" HOST_WIDEST_INT_PRINT"d"
> -+ " %10" HOST_WIDEST_INT_PRINT"d %10" HOST_WIDEST_INT_PRINT"d\n",
> +- "%-41s %9u %15"PRId64" %15"PRId64" %15"PRId64
> +- " %10"PRId64" %10"PRId64"\n",
> ++ "%-41s %9u %15" PRId64" %15" PRId64" %15" PRId64
> ++ " %10" PRId64" %10" PRId64"\n",
> s, d->created,
> d->allocated, d->peak, d->current,
> d->nsearches, d->search_iter);
> -@@ -2194,7 +2194,7 @@ dump_bitmap_statistics (void)
> - htab_traverse (bitmap_desc_hash, print_statistics, &info);
> +@@ -2204,7 +2204,7 @@ dump_bitmap_statistics (void)
> + bitmap_desc_hash->traverse <bitmap_output_info *, print_statistics> (&info);
> fprintf (stderr, "---------------------------------------------------------------------------------\n");
> fprintf (stderr,
> -- "%-41s %9"HOST_WIDEST_INT_PRINT"d %15"HOST_WIDEST_INT_PRINT"d\n",
> -+ "%-41s %9" HOST_WIDEST_INT_PRINT"d %15" HOST_WIDEST_INT_PRINT"d\n",
> +- "%-41s %9"PRId64" %15"PRId64"\n",
> ++ "%-41s %9" PRId64" %15" PRId64"\n",
> "Total", info.count, info.size);
> fprintf (stderr, "---------------------------------------------------------------------------------\n");
> }
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_c_c-aux-info_c
> ===================================================================
> RCS file: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_c_c-aux-info_c
> diff -N devel/xtensa-lx106-elf/gcc/patches/patch-gcc_c_c-aux-info_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_c_c-aux-info_c 2 Apr 2020 21:37:35 -0000
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: gcc/c/c-aux-info.c
> +--- gcc/c/c-aux-info.c.orig
> ++++ gcc/c/c-aux-info.c
> +@@ -319,7 +319,7 @@ gen_type (const char *ret_val, tree t, formals_style s
> + else
> + {
> + char buff[23];
> +- sprintf (buff, "["HOST_WIDE_INT_PRINT_DEC"]",
> ++ sprintf (buff, "[" HOST_WIDE_INT_PRINT_DEC"]",
> + int_size_in_bytes (t)
> + / int_size_in_bytes (TREE_TYPE (t)));
> + ret_val = gen_type (concat (ret_val, buff, NULL),
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfg_c
> ===================================================================
> RCS file: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfg_c
> diff -N devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfg_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfg_c 2 Apr 2020 21:37:35 -0000
> @@ -0,0 +1,23 @@
> +$OpenBSD$
> +
> +Index: gcc/cfg.c
> +--- gcc/cfg.c.orig
> ++++ gcc/cfg.c
> +@@ -508,7 +508,7 @@ dump_edge_info (FILE *file, edge e, int flags, int do_
> + if (e->count && do_details)
> + {
> + fputs (" count:", file);
> +- fprintf (file, "%"PRId64, e->count);
> ++ fprintf (file, "%" PRId64, e->count);
> + }
> +
> + if (e->flags && do_details)
> +@@ -756,7 +756,7 @@ dump_bb_info (FILE *outf, basic_block bb, int indent,
> + if (flags & TDF_DETAILS)
> + {
> + struct function *fun = DECL_STRUCT_FUNCTION (current_function_decl);
> +- fprintf (outf, ", count " "%"PRId64,
> ++ fprintf (outf, ", count " "%" PRId64,
> + (int64_t) bb->count);
> + fprintf (outf, ", freq %i", bb->frequency);
> + if (maybe_hot_bb_p (fun, bb))
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfghooks_c
> ===================================================================
> RCS file: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfghooks_c
> diff -N devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfghooks_c
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cfghooks_c 2 Apr 2020 21:37:35 -0000
> @@ -0,0 +1,14 @@
> +$OpenBSD$
> +
> +Index: gcc/cfghooks.c
> +--- gcc/cfghooks.c.orig
> ++++ gcc/cfghooks.c
> +@@ -330,7 +330,7 @@ dump_bb_for_graph (pretty_printer *pp, basic_block bb)
> + internal_error ("%s does not support dump_bb_for_graph",
> + cfg_hooks->name);
> + if (bb->count)
> +- pp_printf (pp, "COUNT:" "%"PRId64, bb->count);
> ++ pp_printf (pp, "COUNT:" "%" PRId64, bb->count);
> + pp_printf (pp, " FREQ:%i |", bb->frequency);
> + pp_write_text_to_stream (pp);
> + if (!(dump_flags & TDF_SLIM))
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cgraph_c
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cgraph_c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_cgraph_c
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cgraph_c 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_cgraph_c 2 Apr 2020 21:37:35 -0000
> @@ -3,30 +3,30 @@ $OpenBSD: patch-gcc_cgraph_c,v 1.1.1.1 2
> Index: gcc/cgraph.c
> --- gcc/cgraph.c.orig
> +++ gcc/cgraph.c
> -@@ -1513,7 +1513,7 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
> - if (node->analyzed)
> - fprintf (f, " analyzed");
> - if (node->count)
> -- fprintf (f, " executed "HOST_WIDEST_INT_PRINT_DEC"x",
> -+ fprintf (f, " executed " HOST_WIDEST_INT_PRINT_DEC"x",
> - (HOST_WIDEST_INT)node->count);
> - if (node->origin)
> - fprintf (f, " nested in: %s", cgraph_node_asm_name (node->origin));
> -@@ -1565,7 +1565,7 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
> - fprintf (f, "%s/%i ", cgraph_node_asm_name (edge->caller),
> - edge->caller->symbol.order);
> - if (edge->count)
> -- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ",
> -+ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC"x) ",
> - (HOST_WIDEST_INT)edge->count);
> - if (edge->frequency)
> - fprintf (f, "(%.2f per call) ",
> -@@ -1588,7 +1588,7 @@ dump_cgraph_node (FILE *f, struct cgraph_node *node)
> - if (edge->indirect_inlining_edge)
> - fprintf(f, "(indirect_inlining) ");
> - if (edge->count)
> -- fprintf (f, "("HOST_WIDEST_INT_PRINT_DEC"x) ",
> -+ fprintf (f, "(" HOST_WIDEST_INT_PRINT_DEC"x) ",
> - (HOST_WIDEST_INT)edge->count);
> - if (edge->frequency)
> - fprintf (f, "(%.2f per call) ",
> +@@ -1326,7 +1326,7 @@ cgraph_edge::redirect_call_stmt_to_callee (void)
> + if (dump_file)
> + fprintf (dump_file,
> + "Expanding speculative call of %s/%i -> %s/%i count:"
> +- "%"PRId64"\n",
> ++ "%" PRId64"\n",
> + xstrdup_for_dump (e->caller->name ()),
> + e->caller->order,
> + xstrdup_for_dump (e->callee->name ()),
> +@@ -1958,7 +1958,7 @@ cgraph_edge::dump_edge_flags (FILE *f)
> + if (indirect_inlining_edge)
> + fprintf (f, "(indirect_inlining) ");
> + if (count)
> +- fprintf (f, "(%"PRId64"x) ", (int64_t)count);
> ++ fprintf (f, "(%" PRId64"x) ", (int64_t)count);
> + if (frequency)
> + fprintf (f, "(%.2f per call) ", frequency / (double)CGRAPH_FREQ_BASE);
> + if (can_throw_external)
> +@@ -1994,7 +1994,7 @@ cgraph_node::dump (FILE *f)
> + fprintf (f, " First run: %i\n", tp_first_run);
> + fprintf (f, " Function flags:");
> + if (count)
> +- fprintf (f, " executed %"PRId64"x",
> ++ fprintf (f, " executed %" PRId64"x",
> + (int64_t)count);
> + if (origin)
> + fprintf (f, " nested in: %s", origin->asm_name ());
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_c
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_darwin_c
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_c 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_c 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_darwin_c,v 1.
> Index: gcc/config/darwin.c
> --- gcc/config/darwin.c.orig
> +++ gcc/config/darwin.c
> -@@ -2203,7 +2203,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u) local %d wea
> +@@ -2259,7 +2259,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u) local %d wea
>
> ASM_OUTPUT_LABEL (file, xname);
> size = 1;
> @@ -12,7 +12,7 @@ Index: gcc/config/darwin.c
>
> /* Check that we've correctly picked up the zero-sized item and placed it
> properly. */
> -@@ -2344,7 +2344,7 @@ darwin_emit_local_bss (FILE *fp, tree decl, const char
> +@@ -2400,7 +2400,7 @@ darwin_emit_local_bss (FILE *fp, tree decl, const char
> fprintf (fp, "\t.align\t%u\n", l2align);
>
> assemble_name (fp, name);
> @@ -21,7 +21,7 @@ Index: gcc/config/darwin.c
> }
> else
> {
> -@@ -2365,10 +2365,10 @@ darwin_emit_local_bss (FILE *fp, tree decl, const char
> +@@ -2421,10 +2421,10 @@ darwin_emit_local_bss (FILE *fp, tree decl, const char
> size = 1;
>
> if (l2align)
> @@ -34,7 +34,7 @@ Index: gcc/config/darwin.c
> }
>
> (*targetm.encode_section_info) (decl, DECL_RTL (decl), false);
> -@@ -2516,7 +2516,7 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %d cst %d stat
> +@@ -2572,7 +2572,7 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %d cst %d stat
> fprintf (fp, "\t.align\t%u\n", l2align);
>
> assemble_name (fp, name);
> @@ -43,7 +43,7 @@ Index: gcc/config/darwin.c
> }
> else
> {
> -@@ -2537,9 +2537,9 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %d cst %d stat
> +@@ -2593,9 +2593,9 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %d cst %d stat
> size = 1;
>
> if (l2align)
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_h
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_h,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_darwin_h
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_h 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_darwin_h 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_darwin_h,v 1.
> Index: gcc/config/darwin.h
> --- gcc/config/darwin.h.orig
> +++ gcc/config/darwin.h
> -@@ -530,7 +530,7 @@ extern GTY(()) int darwin_ms_struct;
> +@@ -532,7 +532,7 @@ extern GTY(()) int darwin_ms_struct;
> #define TARGET_ASM_LTO_END darwin_asm_lto_end
>
> #define ASM_OUTPUT_SKIP(FILE,SIZE) \
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_ia64_ia64_c
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_ia64_ia64_c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_ia64_ia64_c
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_ia64_ia64_c 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_ia64_ia64_c 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_ia64_ia64_c,v
> Index: gcc/config/ia64/ia64.c
> --- gcc/config/ia64/ia64.c.orig
> +++ gcc/config/ia64/ia64.c
> -@@ -798,7 +798,7 @@ ia64_vms_output_aligned_decl_common (FILE *file, tree
> +@@ -858,7 +858,7 @@ ia64_vms_output_aligned_decl_common (FILE *file, tree
>
> /* Code from elfos.h. */
> assemble_name (file, name);
> @@ -12,7 +12,7 @@ Index: gcc/config/ia64/ia64.c
> size, align / BITS_PER_UNIT);
>
> fputc ('\n', file);
> -@@ -9959,7 +9959,7 @@ process_cfa_adjust_cfa (FILE *asm_out_file, rtx pat, r
> +@@ -10032,7 +10032,7 @@ process_cfa_adjust_cfa (FILE *asm_out_file, rtx pat, r
> gcc_assert (!frame_pointer_needed);
> if (unwind)
> fprintf (asm_out_file,
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_microblaze_microblaze_h
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_microblaze_microblaze_h,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_microblaze_microblaze_h
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_microblaze_microblaze_h 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_microblaze_microblaze_h 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_microblaze_mi
> Index: gcc/config/microblaze/microblaze.h
> --- gcc/config/microblaze/microblaze.h.orig
> +++ gcc/config/microblaze/microblaze.h
> -@@ -659,7 +659,7 @@ do { \
> +@@ -657,7 +657,7 @@ do { \
> } \
> fprintf (FILE, "%s", COMMON_ASM_OP); \
> assemble_name ((FILE), (NAME)); \
> @@ -12,7 +12,7 @@ Index: gcc/config/microblaze/microblaze.
> (SIZE), (ALIGN) / BITS_PER_UNIT); \
> ASM_OUTPUT_TYPE_DIRECTIVE (FILE, NAME, "object"); \
> } while (0)
> -@@ -679,7 +679,7 @@ do { \
> +@@ -677,7 +677,7 @@ do { \
> } \
> fprintf (FILE, "%s", LCOMMON_ASM_OP); \
> assemble_name ((FILE), (NAME)); \
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_mips_mips_h
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_mips_mips_h,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_mips_mips_h
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_mips_mips_h 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_mips_mips_h 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_mips_mips_h,v
> Index: gcc/config/mips/mips.h
> --- gcc/config/mips/mips.h.orig
> +++ gcc/config/mips/mips.h
> -@@ -2699,7 +2699,7 @@ do { \
> +@@ -2910,7 +2910,7 @@ do { \
>
> #undef ASM_OUTPUT_SKIP
> #define ASM_OUTPUT_SKIP(STREAM,SIZE) \
> Index: devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_pa_pa_c
> ===================================================================
> RCS file: /cvs/ports/devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_pa_pa_c,v
> retrieving revision 1.1.1.1
> diff -u -p -r1.1.1.1 patch-gcc_config_pa_pa_c
> --- devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_pa_pa_c 12 Mar 2020 15:05:20 -0000 1.1.1.1
> +++ devel/xtensa-lx106-elf/gcc/patches/patch-gcc_config_pa_pa_c 2 Apr 2020 21:37:35 -0000
> @@ -3,7 +3,7 @@ $OpenBSD: patch-gcc_config_pa_pa_c,v 1.1
> Index: gcc/config/pa/pa.c
> --- gcc/config/pa/pa.c.orig
> +++ gcc/config/pa/pa.c
> -@@ -8700,7 +8700,7 @@ pa_asm_output_aligned_bss (FILE *stream,
> +@@ -8624,7 +8624,7 @@ pa_asm_output_aligned_bss (FILE *stream,
>
> fprintf (stream, "\t.align %u\n", align / BITS_PER_UNIT);
> ASM_OUTPUT_LABEL (stream, name);
> @@ -12,7 +12,7 @@ Index: gcc/config/pa/pa.c
> }
>
> /* Both the HP and GNU assemblers under HP-UX provide a .comm directive
> -@@ -8730,7 +8730,7 @@ pa_asm_output_aligned_common (FILE *stream,
> +@@ -8654,7 +8654,7 @@ pa_asm_output_aligned_common (FILE *stream,
> switch_to_section (bss_section);
>
> assemble_name (stream, name);
> @@ -21,7 +21,7 @@ Index: gcc/config/pa/pa.c
> MAX (size, align / BITS_PER_UNIT));
> }
>
> -@@ -8757,7 +8757,7 @@ pa_asm_output_aligned_local (FILE *stream,
> +@@ -8681,7 +8681,7 @@ pa_asm_output_aligned_local (FILE *stream,
>
No comments:
Post a Comment