From: Paul Koning Date: Thu, 1 Nov 2018 18:36:52 +0000 (-0400) Subject: t-pdp11 (LIB2ADD): Add divmod.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4310ca662ab30f0bf73cd71d9a89f0779189c00d;p=gcc.git t-pdp11 (LIB2ADD): Add divmod.c. * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c. (HOST_LIBGCC2_CFLAGS): Change to optimize for size. From-SVN: r265726 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index aadd45c5488..6da80c1bedc 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,8 @@ +2018-11-01 Paul Koning + + * config/pdp11/t-pdp11 (LIB2ADD): Add divmod.c. + (HOST_LIBGCC2_CFLAGS): Change to optimize for size. + 2018-10-31 Joseph Myers PR bootstrap/82856 diff --git a/libgcc/config/pdp11/t-pdp11 b/libgcc/config/pdp11/t-pdp11 index 1363d09437d..a2e4287f2b4 100644 --- a/libgcc/config/pdp11/t-pdp11 +++ b/libgcc/config/pdp11/t-pdp11 @@ -1,4 +1,5 @@ -LIB2ADD = $(srcdir)/udivmod.c \ +LIB2ADD = $(srcdir)/divmod.c \ + $(srcdir)/udivmod.c \ $(srcdir)/udivmodsi4.c \ $(srcdir)/udivhi3.c \ $(srcdir)/udivmodhi4.c \ @@ -7,4 +8,5 @@ LIB2ADD = $(srcdir)/udivmod.c \ $(srcdir)/memmove.c \ $(srcdir)/memset.c -HOST_LIBGCC2_CFLAGS += -O2 +# Small machine, optimize for size +HOST_LIBGCC2_CFLAGS += -Os