mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Patrick Oppenlander <pattyo.lists@gmail.com>
To: musl@lists.openwall.com
Subject: Re: musl-cross-make / litecross improvements
Date: Mon, 9 May 2016 09:04:13 +1000	[thread overview]
Message-ID: <572FC5ED.5040604@gmail.com> (raw)
In-Reply-To: <20160506204928.GZ22574@port70.net>

On 07/05/16 06:49, Szabolcs Nagy wrote:
> i think the powerpc patches wont apply

There is one (very minor) change required in gcc/config/rs6000/sysv4.h.

The sh sibcall patch also required a very small change in 
gcc/config/sh/sh.md.

Other than that the rest applied.

         Patrick

patrick@gtr ~/src/patrick/musl-cross-make (git)-[master] % diff -ur 
patches/gcc-5.2.0 patches/gcc-5.3.0
diff -u -ur patches/gcc-5.2.0/0001-musl.diff 
patches/gcc-5.3.0/0001-musl.diff
--- patches/gcc-5.2.0/0001-musl.diff    2016-05-05 15:23:11.817513705 +1000
+++ patches/gcc-5.3.0/0001-musl.diff    2016-05-06 14:36:54.454162324 +1000
@@ -466,16 +466,16 @@

   /* Pass -G xxx to the compiler.  */
   #undef CC1_SPEC
-@@ -586,7 +589,8 @@ ENDIAN_SELECT(" -mbig", " -mlittle", 
DEFAULT_ASM_ENDIAN)
+@@ -574,7 +577,8 @@
+ %{R*} \
+ %(link_shlib) \
+ %{!T*: %(link_start) } \
+-%(link_os)"
++%(link_os) \
++"%{!mbss-plt: %{!msecure-plt: %(link_secure_plt_default)}}"

- /* Override the default target of the linker.  */
- #define    LINK_TARGET_SPEC \
--  ENDIAN_SELECT("", " --oformat elf32-powerpcle", "")
-+  ENDIAN_SELECT("", " --oformat elf32-powerpcle", "") \
-+  "%{!mbss-plt: %{!msecure-plt: %(link_secure_plt_default)}}"
-
- /* Any specific OS flags.  */
- #define LINK_OS_SPEC "\
+ /* Shared libraries are not default.  */
+ #define LINK_SHLIB_SPEC "\
  @@ -762,17 +766,23 @@ ENDIAN_SELECT(" -mbig", " -mlittle", 
DEFAULT_ASM_ENDIAN)

   #define LINK_START_LINUX_SPEC ""
diff -u -ur patches/gcc-5.2.0/0008-shsibcall.diff 
patches/gcc-5.3.0/0008-shsibcall.diff
--- patches/gcc-5.2.0/0008-shsibcall.diff    2016-05-05 
15:23:11.817513705 +1000
+++ patches/gcc-5.3.0/0008-shsibcall.diff    2016-05-06 
15:18:09.679230171 +1000
@@ -4,7 +4,7 @@
          (call (mem:SI (match_operand:SI 1 "symbol_ref_operand" ""))
                (match_operand 2 "" "")))
      (use (reg:SI FPSCR_MODES_REG))
--   (clobber (match_scratch:SI 3 "=k"))
+-   (clobber (match_scratch:SI 3 "=&k"))
  +   (clobber (reg:SI R1_REG))
      (return)]
     "TARGET_SH2 && !TARGET_FDPIC"



      reply	other threads:[~2016-05-08 23:04 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-03  4:48 Rich Felker
2016-05-03 11:39 ` Szabolcs Nagy
2016-05-03 18:02   ` Rich Felker
2016-05-03 20:16     ` Szabolcs Nagy
2016-05-03 21:57       ` Szabolcs Nagy
2016-05-04  0:16         ` Rich Felker
2016-05-04  3:53         ` Rich Felker
2016-05-04  8:15           ` Szabolcs Nagy
2016-05-06  5:14         ` Rich Felker
2016-05-04  9:28 ` [J-core] " Rob Landley
2016-05-04 11:10   ` Szabolcs Nagy
2016-05-04 11:27     ` Laurent Bercot
2016-05-04 11:52       ` Szabolcs Nagy
2016-05-04 16:33   ` Rich Felker
2016-05-04 16:48     ` Daniel Cegiełka
2016-05-04 17:16     ` Szabolcs Nagy
2016-05-04 18:09       ` Rich Felker
2016-05-04 17:54     ` Rich Felker
2016-05-05 22:43 ` Patrick Oppenlander
2016-05-06  2:44   ` Rich Felker
2016-05-06  6:03     ` Patrick Oppenlander
2016-05-06 20:49     ` Szabolcs Nagy
2016-05-08 23:04       ` Patrick Oppenlander [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=572FC5ED.5040604@gmail.com \
    --to=pattyo.lists@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).