summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-09-12fix generation of import libraries for libstdc++.midipix2-2/+4
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-09-10libiberty: fix the neutral implementation of xstrerror().midipix1-1/+14
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-07-26improved sysroot configurability for gcc, distinguishing betweenmidipix2-12/+12
host/target sysroot and build sysroot. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-07-18initial implementation of GOT entries and initial support of PE visibilitymidipix5-55/+176
for the midipix targets. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-07-18midipix start-file specification: define crti.o as the first object to be linkedmidipix1-2/+2
into both shared libraries and applications. This change reflects crti.o's newly assigned roled in mmglue as the object containing the image's internal descriptor. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-06-20remove non-portable include and add back strverscmp.Shiz2-3/+44
See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
2015-06-20fix portability issues in build systemShiz13-31/+24
This fixes numerous issues where the CBB build system used non-portable constructs. See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
2015-06-01init_section fix (function.c --> __main)midipix1-0/+7
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-05-31normalize the midipix target builtins.midipix7-20/+20
+ remove __NTAPI (never used, not needed). + change __MIDIPIX to __midipix__ (analogous to __linux__). + add __PE__ (analogous to __ELF__). signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-05-29gcc/config.host: set the midipix host_exeext to null (no suffix).midipix1-1/+1
This allows execve to find requested executables in a heuristics-independent manner (which happens to be slightly faster), and is generally speaking a better fit for shell-based development environments. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-04-02add texinfo as a travis dependency.midipix1-1/+1
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-04-01midipix target implementation: finalize preliminary biarch support.midipix2-10/+15
+ set default arch to m32/m64 for the i686- and x86_64- toolchains, respectively. + temporarily disable SEH for the i686-nt32-midipix target; this is needed since the 32-bit PE assembler rejects .seh_proc, meaning that currently we cannot even have 32-bit SEH support as a stub (adding the necessary assembler support should be easy, as it already exists for the 64-bit Windows targets). signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-04-01fix biarch definitions for the midipix targets.midipix2-5/+22
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-04-01compiler building blocks: set the default values of .comm alignment and ssp ↵midipix1-2/+2
to yes. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-28Add Travis build script.Shiz1-0/+19
See COPYING.MIDIPIX (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
2015-03-27gcc/config.gcc: add missing white space before ']'.midipix1-1/+1
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-27gcc/config/i386/driver-i386.c: replace 'asm' with '__asm__' sincemidipix1-1/+1
the former does not allow passing -std=... as a compiler flag. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-26compiler building blocks: libgcc: cbb_sysroot_for_libgcc:midipix1-0/+3
+ set the value of this variable also directly, in libgcc/Makefile.in, so that it is defined also when invoking make from within the respective build sub-directory. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-26libtool: linking for the midipix targets now supports the ↵midipix4-4/+4
cbb_ldflags_for_target variable. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-26midipix.h: define HOST_EXECUTABLE_SUFFIX to be a null string.midipix1-0/+3
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-24Fix missing libgcc dependency on CRT files.Shiz1-2/+3
This also fixes the build system's broken tendency to pass file dependencies directly on to the linker, by filtering the CRT files out again. See copying.midipix (9cd0746c) for copyright information. Signed-off-by: Shiz <hi@shiz.me>
2015-03-23libtool: midipix targets: fix generation of import libraries.midipix1-7/+9
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21finally, add midipix as a gcc target.midipix6-3/+54
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21libgcc/config/i386/t-midipix: initial commit.midipix1-0/+44
+ midipix target-specific build recipes for libgcc, accidentally omitted from commit 47407cf3. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21libtool: add support for the midipix targets in the relevant configure scripts.midipix6-0/+135
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21ltmain.sh: add import library handling for the midipix targets.midipix1-0/+50
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21compiler building blocks: definitions for all musl-libc PE targets.midipix1-0/+157
+ cbb-musl-pe.h: this header provides the compiler with necessary knowledge about the target system libc (musl), covering libc features, preferences, and link information (specs). signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21compiler building blocks: definitions for all musl-libc ELF targets.midipix1-0/+114
+ cbb-musl-elf.h: this header provides the compiler with necessary knowledge about the target system libc (musl), covering libc features, preferences, and link information (specs). + following the naming convention of musl's dynamic linker, this header requires CBB_ARCH to be defined. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21compiler building blocks: common definitions.midipix1-0/+59
+ cbb-common.h: this target-agnostic header must always be included when building cbb-gcc, but should have no effect on the code that is generated by the resulting toolchain. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-21midipix target implementation: initial commit.midipix8-0/+1127
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-20gcc/config: add empty headers files to satisfy build system requirements.midipix2-0/+2
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-20gcc/config: (continue to) make the os-specific headers libc-agnostic.midipix2-143/+0
+ remove gnu.h and gnu-user.h, as they are no longer needed. + this patch continues the work started in 41b5093c. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-20libgcc: disable symbol versioning for the midipix targets.midipix6-6/+30
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-20libstdc++-v3/configure.host: do not consider any particular libc as themidipix1-1/+5
default libc on linux. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-19emutls:midipix2-0/+12
+ add support for platform-provided __emutls_get_address(); + add support for .emutlsv and .emutlst as named sections storing tls variable definitions and default values, respectively. According to the documentation, this could have also been achieved by assigning a value to TARGET_EMUTLS_VAR_SECTION; doing so, however, resulted in a compiler crash, so for now we are using a designated conditional macro instead. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-19gcc/config.gcc: enable_secureplt: set default to 'yes'.midipix1-0/+6
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-19gcc/gthr.h, libgcc/morestack:midipix3-17/+5
+ require pthread to be present; + require all pthread symbols to be strongly defined. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-19gcc/ginclude: float.h, iso646.h, stdarg.h, stdbool.h, stddef.h:midipix6-926/+1
+ no longer needed, the above surrogate headers have been permanently removed. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-18gcc/config/linux.h: add an empty header file to satisfy build system ↵midipix1-0/+1
requirements. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-18linux: i386/x86_64: make the os-specific headers libc-agnostic.midipix3-189/+0
+ libc-specific definitions should now be provided in dedicated headers, for instance by adding --include=libc-defs.h to the relevant compiler flags. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-17gcc.c: default library path:midipix1-0/+3
+ for sysroot-enabled systems, add the relative /lib directory to the default library path. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-17cppdefault.c: default include directories:midipix1-17/+5
+ remove the (no-longer) generated fixincludes directory; + favor system headers over gcc's private headers. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-17cfns.gperf, cfns.h: fix function inlining.midipix2-13/+1
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-15internal interfaces: regex:midipix3-594/+32
revise xregex.h to use the regex implementation provided by libc; remove xregex2.h, as it is no longer needed; adjust libiberty's make recipe accordingly. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-15libiberty: neutral.c: provide x-prefixed variants of standard interfacesmidipix4-6/+292
for backward compatibility, and adjust the build-system accordingly. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-15internal interfaces: remove getopt.h in favor of the header provided by libc.midipix1-144/+0
2015-03-15libiberty: add empty translation units to satisfy build system requirements.midipix61-0/+122
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-15libiberty: remove source files that either duplicate functionalitymidipix61-15176/+0
already present in all modern libc implementations, or are incompatible with modern development environments, or both.
2015-03-15fixincludes: add a no-op version of fixincludes to satisfymidipix5-0/+32
build-system requirements. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
2015-03-15fixincludes: remove the source directory in its entirety.midipix121-30702/+0