Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-08-18 | binutils-2.24.51: lang_add_input_file(): remove mdso bits (no longer needed). | midipix | 1 | -22/+0 | |
Following the previous commit (8fb8b35552738814a6bd10a9c1c2a0d3b3e2dc0f), and since all "real" input arguments are later funneled through ldfile_try_open_bfd(), performing the name-substitution during the input statement list construction phase is no longer necessary. | |||||
2019-08-17 | binutils-2.24.51: ldfile_try_open_bfd(): integrated pe_mdso_input_name(). | midipix | 1 | -20/+52 | |
2019-08-17 | binutils-2.24.51: mdso targets: refined pe_mdso_input_name() integration. | midipix | 1 | -1/+3 | |
2019-08-17 | binutils-2.24.51: mdso targets: added and integrated pe_mdso_input_name(). | midipix | 1 | -3/+265 | |
Following this commit, image arguments (e.g. libfoo.so) are replaced with temporary mdso import libraries that are generated on the fly using the perk and mdso library interfaces. As should be noted, the above logic is only in effect when PE_TARGET_MDSO is defined. For non-mdso targets (e.g. mingw), ld continues to generate in-memory legacy .idata import libraries as it did before. | |||||
2019-08-16 | binutils-2.24.51: mdso targets: added ld/pe-mdso.c, included in build. | midipix | 1 | -6/+9 | |
2019-08-16 | binutils-2.24.51: midipix targets: defined PE_TARGET_MDSO, renamed mdso header. | midipix | 1 | -7/+11 | |
2019-08-16 | binutils-2.24.51: further refactor pemdso.h, pe.em, and pep.em. | midipix | 1 | -44/+47 | |
2019-08-15 | binutils-2.24.51: refactored and separated mdso and midipix target bits. | midipix | 1 | -9/+10 | |
2019-08-15 | binutils-2.24.51: midipix targets: enable the perk and mdso library interfaces. | midipix | 1 | -13/+50 | |
2019-06-30 | binutils-2.24.51: pe_dll_generate_dsolib(): support symbol vector as input. | midipix | 1 | -9/+19 | |
2019-06-05 | gdb-7.12: updated build notes. | midipix | 1 | -2/+8 | |
2019-06-04 | gdb-7.12: introduced amd64-winnt-tdep.c. | midipix | 1 | -31/+34 | |
2019-06-04 | gdb-7.12: introduced i386-winnt-tdep.c. | midipix | 1 | -4/+58 | |
2019-06-04 | gdb-7.12: added _initialize_amd64_winnt_tdep(). | midipix | 1 | -0/+48 | |
2019-06-04 | gdb-7.12: updated gdb_osabi_names[]. | midipix | 1 | -0/+11 | |
2019-06-04 | gdb-7.12.midipix.patch: initial commit (work in progress, no target hooks). | midipix | 1 | -0/+246 | |
2019-02-09 | binutils-2.24.51: support .got entries created in .dsosyms. | midipix | 1 | -6/+7 | |
2019-01-08 | binutils-2.24.51: properly handle weak symbols that are also hidden. | midipix | 1 | -17/+33 | |
2018-11-21 | Remove python-2.7.midipix.patch & python-2.7.specs, which are no longer needed. | midipix | 2 | -194/+0 | |
2018-01-29 | python-2.7.specs: update to reflect recent (mdso-related) toolchain devel. | midipix | 1 | -1/+1 | |
2017-10-26 | libelf-0.8.13: updated patch (create an mdso-based import library). | midipix | 1 | -1/+1 | |
2017-10-25 | binutils-2.24.51: added mdso integration support. | midipix | 1 | -23/+326 | |
2017-01-20 | libffi-3.2.1: updated patch. | midipix | 1 | -0/+21 | |
2017-01-20 | grep-2.22: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | updated README file. | midipix | 1 | -9/+17 | |
2017-01-20 | tar-1.28: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | sed-4.2.2: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | patch-2.7: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | make-3.81: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | gawk-4.1.3: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | findutils-4.5.14: removed patch (non-toolchain patches are now in ↵ | midipix | 1 | -39/+0 | |
midipix_build). | |||||
2017-01-20 | diffutils-3.3: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | coreutils-8.23: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -81/+0 | |
2017-01-20 | bash-4.3: removed patch (non-toolchain patches are now in midipix_build). | midipix | 1 | -12/+0 | |
2017-01-20 | config.cache: updated version (kept in sync with midipix_build). | midipix | 1 | -0/+26 | |
2017-01-20 | libffi-3.2.1: updated patch. | midipix | 1 | -49/+0 | |
2017-01-20 | libelf-0.8.13: updated patch. | midipix | 1 | -22/+0 | |
2017-01-20 | mpfr-3.1.2: removed patch, as it is no longer needed. | midipix | 1 | -40/+0 | |
2017-01-20 | mpc-1.0.1: removed patch, as it is no longer needed. | midipix | 1 | -43/+0 | |
2017-01-20 | gmp-5.1.3: updated patch. | midipix | 1 | -28/+0 | |
2017-01-20 | gmp-5.1.1: updated patch. | midipix | 1 | -29/+0 | |
2017-01-20 | removed libtool.midipix, as it is no longer needed (use slibtool instead). | midipix | 1 | -9342/+0 | |
2017-01-20 | binutils-2.24.51: updated patch. | midipix | 1 | -12/+0 | |
2017-01-20 | config.sub: added a cached, modern copy, which includes midipix target info. | midipix | 1 | -0/+1823 | |
2016-11-23 | binutils-2.24.51: updated patch. | midipix | 1 | -0/+11 | |
+ unset NATIVE_LIB_DIRS; leave handling of library search path to driver. | |||||
2016-11-23 | binutils-2.24.51: updated patch. | midipix | 1 | -6/+6 | |
2016-06-05 | update readme file to reflect recent switch to slibtool. | midipix | 1 | -3/+9 | |
2016-05-18 | binutils-2.24.51: updated patch. | midipix | 1 | -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-01 | libtool.midipix: remove the install prefix dir test (invalid, not needed). | midipix | 1 | -9/+0 | |
2016-02-11 | patch-2.7: remove gnulib cached variables (now provided in config.cache). | midipix | 1 | -138/+0 | |