summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-20libelf-0.8.13: updated patch.midipix1-22/+0
2017-01-20mpfr-3.1.2: removed patch, as it is no longer needed.midipix1-40/+0
2017-01-20mpc-1.0.1: removed patch, as it is no longer needed.midipix1-43/+0
2017-01-20gmp-5.1.3: updated patch.midipix1-28/+0
2017-01-20gmp-5.1.1: updated patch.midipix1-29/+0
2017-01-20removed libtool.midipix, as it is no longer needed (use slibtool instead).midipix1-9342/+0
2017-01-20binutils-2.24.51: updated patch.midipix1-12/+0
2017-01-20config.sub: added a cached, modern copy, which includes midipix target info.midipix1-0/+1823
2016-11-23binutils-2.24.51: updated patch.midipix1-0/+11
+ unset NATIVE_LIB_DIRS; leave handling of library search path to driver.
2016-11-23binutils-2.24.51: updated patch.midipix1-6/+6
2016-06-05update readme file to reflect recent switch to slibtool.midipix1-3/+9
2016-05-18binutils-2.24.51: updated patch.midipix1-0/+14
+ PE/COFF: properly handle references to addresses of weak data symbols. + a special thanks to Rich Felker, primary author of musl libc, for invaluable help and direction. + while commit 8dfab477 did resolve binutils bug 16858, it did not address the issue of references to weak data symbols. Before this patch, assembly of the the following minimal example would result in p holding offset of dummy from the beginning of the .data section which is always wrong (weak data symbols should be treated the same way as external symbols) and never needed, namely since the recorded dependency on 'a' suffices for the linker even in cases where the strong symbol 'a' is not present. + relevant code path: md_apply_fix(): for PE targets, and given a relocation based on a weak symbol that is *not* a function, store the inverse of the symbol value, retrieved via S_GET_VALUE (fixP->fx_addsy); bfd_install_relocation(): here we relocate based on the weak symbol's value: relocation = symbol->value; this value is later added to the value that was stored to memory in the previous step: DOIT(x); the result is zero plus any offset that is symbol-relative (array member, etc.) == TEST CASE == .data .globl top .balign 8 top: .quad 0x12345678 .balign 4 dummy: .long 7 .globl p .balign 8 p: .quad a .weak a .set a,dummy == VERIFICATION == a.o: file format pe-x86-64 Disassembly of section .data: 0000000000000000 <top>: 0: 78 56 js 58 <p+0x48> 2: 34 12 xor $0x12,%al 4: 00 00 add %al,(%rax) ... 0000000000000008 <.weak.a.top>: 8: 07 (bad) 9: 00 00 add %al,(%rax) b: 00 00 add %al,(%rax) d: 00 00 add %al,(%rax) ... 0000000000000010 <p>: ... 10: R_X86_64_64 a signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2016-03-01libtool.midipix: remove the install prefix dir test (invalid, not needed).midipix1-9/+0
2016-02-11patch-2.7: remove gnulib cached variables (now provided in config.cache).midipix1-138/+0
2016-02-11findutils-4.5.14: remove gnulib cached variables (now provided in config.cache).midipix1-136/+0
2016-02-11diffutils-3.3: remove gnulib cached variables (now provided in config.cache).midipix1-138/+0
2016-02-11coreutils-8.23: remove gnulib cached variables (now provided in config.cache).midipix1-135/+0
2016-02-11config.cache: updated comprehensive patch.midipix1-5/+129
2016-02-11tar-1.28: initial patch.midipix1-0/+12
2016-02-11config.cache: updated patch (satisfy gnu tar).midipix1-0/+1
2016-01-30gawk-4.1.3: initial patch.midipix1-0/+12
2016-01-30python-2.7: initial patch.midipix1-0/+191
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2016-01-30python-2.7.specs: initial commit.midipix1-0/+3
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2016-01-30config.cache: update patch (satisfy python-2.7 build).midipix1-0/+2
2016-01-30libffi-3.2.1: initial patch.midipix1-0/+136
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-12-03sed-4.2.2: initial patch.midipix1-0/+12
2015-12-03grep-2.22: initial patch.midipix1-0/+12
2015-11-26binutils-2.24.51: updated patch.midipix1-0/+14
+ smart_rename: fallback to simple_copy upon failure. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-11-26binutils-2.24.51: updated patch.midipix1-2/+20
+ pe targets: disable default timestamp / support reproducible builds by default. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-11-25default config.cache: initial commit.midipix1-0/+13
2015-09-13binutils-2.24.51: updated patch.midipix1-1/+10
+ x86 midipix targets: build dlltool and windmc by default. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-07-24bash-4.3: initial patch.midipix1-0/+12
2015-07-24make-3.81: initial patch.midipix1-0/+12
2015-06-13binutils-2.24.51: updated patch.midipix1-11/+30
+ PE/COFF: when exporting a symbol for which both a strong and a weak definition exists, always use the strong definition. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-12binutils-2.24.51: updated patch.midipix1-0/+30
+ solve binutils bug 16858 by removing the offending code block in its entirety.
2015-06-08binutils-2.24.51: updated patch.midipix1-4/+14
+ PE/COFF: distinguish between GOT entries and import library entries when deciding whether a symbol may be exported. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-06binutils-2.24.51: updated patch.midipix1-3/+63
+ PE/COFF: allow a weak definition in an archive member to satisfy a reference to an undefined external symbol in another object. + a special thanks to Rich Felker, primary author of musl libc, for identifying the spot at which a fix needed to be applied. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-06binutils-2.24.51: updated patch.midipix1-2/+19
+ PE shared libraries: fix the logic that allows weak definitions to be exported (cf. commit ddd1583). signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-06binutils-2.24.51: updated patch.midipix1-0/+26
+ PE/COFF: allow a reference to an external symbol in one object file be satisfied by a weak definition in another. + a special thanks to Rich Felker, primary author of musl libc, for identifying the spot at which a fix needed to be applied. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-05binutils-2.24.51: updated patch.midipix1-3/+42
+ PE shared libraries: allow weak aliases to be exported. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-01patch-2.7: initial commit.midipix1-0/+150
+ add midipix to config.sub. + bypass configure's wrong assumptions (and bad conclusions) when cross-compiling. + gnulib.cache was inspired by advice from sortie, author of the sortix operating system. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-01diffutils-3.3: initial commit.midipix1-0/+150
+ add midipix to config.sub. + bypass configure's wrong assumptions (and bad conclusions) when cross-compiling. + gnulib.cache was inspired by advice from sortie, author of the sortix operating system. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-01coreutils-8.23: updated patch.midipix1-12/+158
+ bypass configure's wrong assumptions (and bad conclusions) when cross-compiling. + gnulib.cache was inspired by advice from sortie, author of the sortix operating system. + fs.h: test for __midipix__ rather than __MIDIPIX (cf. cbb-gcc-4.6.4, commit f9ba0c). signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-05-31findutils-4.5.14: initial commit.midipix1-0/+175
+ add midipix to config.sub. + bypass configure's wrong assumptions (and bad conclusions) when cross-compiling. + gnulib.cache was inspired by advice from sortie, author of the sortix operating system. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-05-30coreutils-8.23: initial patch.midipix1-0/+70
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-05-28gmp-5.1.3: initial patch.midipix1-0/+50
2015-04-02add texinfo as a travis dependency.midipix1-1/+1
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-28add support for Travis automatic build.midipix1-0/+19
based on cbb-gcc-4.6.4 commit 7a23e9d0 by Shiz. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-28ld: set the default executable name to 'a.out' properly.midipix1-5/+7
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-28ld: set the default executable name to 'a.out' (rather than 'a.exe').midipix1-2/+4
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.