Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <572FC5ED.5040604@gmail.com>
Date: Mon, 9 May 2016 09:04:13 +1000
From: Patrick Oppenlander <pattyo.lists@...il.com>
To: musl@...ts.openwall.com
Subject: Re: musl-cross-make / litecross improvements

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"

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.