Commit Graph

500 Commits

Author SHA1 Message Date
Alexey Neyman
a459a33936 Merge pull request #574 from stilor/uclibc-obstack
3 unrelated uClibc changes, see individual commits
2017-02-05 20:42:02 -08:00
Alexey Neyman
e69734cb12 Add glibc 2.25
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 16:10:40 -08:00
Alexey Neyman
fed6287bfa Patch elf2flt to link libz last
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:26:09 -08:00
Alexey Neyman
ef841ea312 Allow some tunables for ncurses
- Allow user to specify configure arguments to pass through to host/target
ncurses.
- Checkbox for --disable-database
- String option for --with-fallbacks

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-05 14:20:01 -08:00
Alexey Neyman
df68f203b4 Use 'make olddefconfig' in uClibc/uClibc-ng configuration
instead of 'make oldconfig' and responding 'y'. This avoids 'Broken pipe'
errors in the log, as well as selects default setting for all options not
explicitly set.

This requires a small fix in the old uClibc. Won't have to maintain that fix
for long though :)

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-04 21:16:10 -08:00
Alexey Neyman
675f7bfa4e Remove previous patch to strace
GDB maintainers said, <sgidefs.h> must be provided by C library.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 13:37:52 -08:00
Alexey Neyman
0636034688 Merge pull request #562 from stilor/binutils-patch
Add binutils 2.27 patch
2017-01-26 13:34:28 -08:00
Alexey Neyman
8f267b77ae Fix glibc build with GCC5/6.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
d0569d322b Add gettext 0.19.8.1
Patches:
120 - updated to apply cleanly
140,150 - removed, now upstream

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:49 -08:00
Alexey Neyman
4ea47dddfd Add binutils 2.27 patch
https://sourceware.org/bugzilla/show_bug.cgi?id=20531

Reported-by: Floessie
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 12:19:35 -08:00
Alexey Neyman
ee44d6c458 Fix glibc 2.23/2.24 with --enable-static-nss.
2.22 and older have more warnings that break the build.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-26 11:17:01 -08:00
Alexey Neyman
74741a0dc3 Add patch for init_module/delete_module
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-24 14:58:11 -08:00
Alexey Neyman
30dc7e94c9 Add UCLIBC_HAS_LFS as always-enabled.
Buildroot checks for this feature.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 14:26:19 -08:00
Alexey Neyman
39db97a30f Patch from OpenEmbedded to fix strace build
for mips-*-linux-musl. Upstream report:
https://sourceforge.net/p/strace/mailman/message/35615169/

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-19 23:27:46 -08:00
Alexey Neyman
dc3f68c8a5 Merge pull request #545 from dirkvdb/master
Gcc compilation fix when fortran is enabled
2017-01-19 17:13:00 -08:00
Dirk Vanden Boer
272f62285d Added patch for gcc compilation error with fortran enabled
Signed-off-by: Dirk Vanden Boer <dirk.vdb@gmail.com>
2017-01-18 19:32:03 +01:00
Alexey Neyman
725fcbe1a7 Linaro 4.9 does not have a fix for build with GCC5/6.
.. and 4.8 needs it, too.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-17 17:23:31 -08:00
Alexey Neyman
2ee46bf9a1 Propagate caddr_t patch to other glibc versions
... 2.20, 2.21, 2.22 and 2.24.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-17 00:17:00 -08:00
Alexey Neyman
ee69c76356 Merge pull request #520 from c-robert/master
Fix for Candian-Cross builds for mingw host to arm target.
2017-01-17 00:10:01 -08:00
Alexey Neyman
fb426ac912 Replace strace workaround with a patch.
The correct solution was checked in to strace GIT; will be part of the
next release. Backport patch to 4.10..4.15, and remove the workaround
from 500-strace.sh. Versions 4.9 and older should build fine even
without the workaround (they would be picking up wrong definitions,
but they need different patch and I don't feel like spending any time
on these versions).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-16 09:07:59 -08:00
Alexey Neyman
ebf82e8215 Add versions 4.11..4.15 of strace.
Versions 4.13 and older marked as obsolete.
Identify the source of the patches 007..009.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-16 09:07:19 -08:00
Alexey Neyman
2b2c496f2a Merge pull request #536 from stilor/musl-update
Musl update to 1.1.16
2017-01-16 09:01:44 -08:00
Alexey Neyman
41bdf88156 Remove patches for unsupported musl versions
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14 14:59:01 -08:00
Alexey Neyman
d7b313774e Add gdb 7.12.
Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch -
modify configure.ac and regenerate configure (rather than modifying
the latter directly).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
cd0da51d91 Fix xtensa after binutils upgrade.
Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1404857

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 18:30:28 -08:00
Alexey Neyman
f14c290078 Patch GCC to leave -framework alone.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:28 -08:00
C. Robert Daniels III
d0cd6b8ece Fix for Candian-Cross builds for mingw host to arm target. 2017-01-06 09:52:14 -07:00
Alastair D'Silva
e427a6408f Remove GCC 6.2.0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alastair D'Silva
36e8567167 Bump GCC to 6.3.0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alastair D'Silva
92c33fe46d Bump binutils to 2.27
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06 12:05:16 +11:00
Alexey Neyman
83d9e6a49a Kill dmalloc.
- No new releases in almost 10 year.
- No public bug tracker or VCS.
- No responses from maintainer over sent patches.

RIP, dmalloc.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-16 16:10:32 -08:00
Alexey Neyman
b7194db3ff Fix xtensa static link.
uClibc-ng 1.0.20 fixed static linking with "libdl" by adding all libdl functions
into the libc. On xtensa, though, libdl contains an unresolved reference that is
satisfied by the ld.so - which is not a part of the linking in a static case.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-09 15:49:38 -08:00
Alexey Neyman
25f5b82d2e Update Linux kernel patches.
3.0.9/100-headers-install-fix*.patch picked up upstream.
The Cygwin fix is needed for Cygwin on all kernel versions.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
f6ea9a68b2 Add patches for <sys/select.h> issue on Cygwin.
From gnulib´s mailing list; paths modified to match gnulib module inside
gettext.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
31e2a8776d Rename gettext 0.19.6 patches to 0.19.7.
120-*.patch needed an update; others copied verbatim.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06 10:33:20 -08:00
Alexey Neyman
368398bdf4 Backport the fix to 4.8.5.
4.9.4 doesn't need this, fixed upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-05 18:38:31 -08:00
Max Filippov
bd2a376fe3 gcc: backport fix for xtensa PR target/78603
This fixes the following kind of ICE on configurations with zero
overhead loops support:

  ../src/pjlib-test/thread.c: In function 'thread_test':
  ../src/pjlib-test/thread.c:328:1: internal compiler error: in
    dwarf2out_var_location, at dwarf2out.c:21846

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-30 17:17:18 -08:00
Alexey Neyman
3285ccbd3e Sync up with buildroot GCC 6.2.0 patches.
Additionally, copy from 5.4.0:
- 910-nios2-bad-multilib-default.patch (needed for nios2 sample)
- 930-libgcc-disable-split-stack-nothreads.patch (applicable to 6.2.0 as well)

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-29 11:15:21 -08:00
Max Filippov
b55c288db9 gcc: backport fix for xtensa PR target/78118
This fixes ICE when building libgcc for xtensa with call0 ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:30 -08:00
Max Filippov
c9b2d11f54 gcc: don't use unwind-dw2-fde-dip with xtensa-elf targets
This fixes build for elf target with windowed xtensa core that currently
breaks with the following error message:

  unwind-dw2-fde-dip.c:36:40: fatal error: elf.h: No such file or directory

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:30 -08:00
Max Filippov
73b11177c2 gcc: fix libgcc build with --text-section-literals for xtensa
This fixes toolchain build with --text-section-literals, which should
normally be enabled for linux targets.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:09 -08:00
Max Filippov
fe3cca91d2 gcc: fix xtensa_fallback_frame_state for call0 ABI
This allows for stack unwinding over signal frames on xtensa linux with
call0 ABI.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-11-22 15:16:09 -08:00
Alexey Neyman
5d4e179980 Remove 4.9.3 patch directory.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-17 17:23:53 -08:00
Alexey Neyman
1517360c6a Add missing 4.9.3 patches.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-17 17:20:48 -08:00
Thorsten Johannvorderbrueggen
18b5382e9c add support for gcc 4.9.4 2016-11-17 16:17:22 -08:00
Alexey Neyman
99943a8802 Merge pull request #476 from stilor/fix-after-glibc-2.24
Fix ltrace under glibc 2.24.
2016-11-14 11:24:24 -08:00
Alexey Neyman
51b7d69bbc Merge pull request #474 from stilor/unbreak-gcc-4.9.3
Unbreak 4.9.3.
2016-11-14 11:24:02 -08:00
Alexey Neyman
2fe9c8686d Fix ltrace under glibc 2.24.
GLIBC 2.24 declared readdir_r as deprecated and suggests to use readdir.
uClibc-ng's readdir is thread-safe as well.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-13 11:56:50 -08:00
Joachim Nilsson
9b216274e5 glibc: Add glibc-2.24
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-11-12 19:49:26 +01:00
Alexey Neyman
760dcf2b39 Unbreak 4.9.3.
The patch provided by the original submitter did not apply cleanly to 4.9.3; had a fuzz 2.
We only allow fuzz 1. Fix up the patch.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-11 10:41:19 -08:00
Alexey Neyman
5ebbb52be0 Merge pull request #468 from dajamminyogesh/master
gcc: Updated gcc from 6.1.0 to 6.2.0
2016-11-10 20:10:05 -08:00
Alexey Neyman
b523e842d3 Merge pull request #419 from ograff/gcc_patches
Apply patch for config.gcc to support e6500 to gcc4.9.3
2016-11-10 14:41:33 -08:00
Yogesh Sharma
0bf97beb30 gcc: Updated gcc from 6.1.0 to 6.2.0
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-10-31 14:29:25 -04:00
Bryan Hundven
dc280e477d Merge branch 'master' into janitorial 2016-10-24 10:07:16 -07:00
Alexey Neyman
202ca9b7d4 Upgrade uClibc-ng to 1.0.14.
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-10-04 17:47:15 -07:00
Oliver Graff
8dd5462c04
Apply patch for config.gcc to support e6500 to gcc4.9.3
This resolves crosstool-ng/crosstool-ng#405

Signed-off-by: Oliver Graff <oliver.e.graff@gmail.com>
2016-09-28 14:02:14 -04:00
Kirill K. Smirnov
bcb6b03df9 patches: add patches for gmp
This changeset adds official patches published on gmp website.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:57:43 +03:00
Kirill K. Smirnov
5a88b7fd2a patches: remove obsolete gmp patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:16:48 +03:00
Kirill K. Smirnov
9618bc6de7 patches: remove obsolete libelf patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:10:11 +03:00
Kirill K. Smirnov
2e6a56d1cc patches: add patches for mpfr
This changeset adds official patches published on
mpfr website.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-18 00:01:42 +03:00
Kirill K. Smirnov
af1850f76f patches: remove obsolete mpfr patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 23:03:00 +03:00
Kirill K. Smirnov
d358a2e197 patches: clean up patches for strace 4.5.18
Backport patch for linux/netlink from strace 4.5.19.
Autoreconf changes.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 22:50:00 +03:00
Kirill K. Smirnov
2811011dc6 patches: cleanup patches for strace 4.5.19
Old series of patches:
1) update configure with old patch for 4.5.18
2) update configure.ac
3) update configure again, effectively reverting changes
   from 1).

Remove patch 1) and regenerate patch 3)

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 21:59:57 +03:00
Kirill K. Smirnov
01a2000898 patches: remove yet another bogus patch
The related issue has been fixed in strace 4.5.17

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 20:12:01 +03:00
Kirill K. Smirnov
341c06b3e8 patches: remove bogus patch
The related issue has been fixed in strace 4.5.15

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:40:50 +03:00
Kirill K. Smirnov
1ce0cabf04 patches: remove obsolete strace patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:40:28 +03:00
Kirill K. Smirnov
d59ac6c244 patches: remove obsolete ltrace patches
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-17 19:05:50 +03:00
Kirill K. Smirnov
456e5d9f3e patches/glibc: Backport more patches for 2.19
Fixes build with gcc 5.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 03:25:47 +03:00
Kirill K. Smirnov
415483a288 patches/glibc: Backport more patches for 2.18
These new patches fix build with make >= 4.0 and gcc 5.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 02:56:32 +03:00
Kirill K. Smirnov
429b3e8846 patches: remove obsolete glibc patches
Glibc prior to 2.18, linuxthreads and ports are not supported.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-15 01:02:54 +03:00
Kirill K. Smirnov
1d28793575 patches: remove obsolete D.U.M.A. patches
User cannot choose D.U.M.A. versions prior to 2.5.15 in config,
so remove useless patches.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 22:04:09 +03:00
Kirill K. Smirnov
87088fe9b0 patches: remove cygwin
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 21:51:08 +03:00
Kirill K. Smirnov
b6a669728e patches: remove ELFkickers
The package ELFkickers has not been used for years, but the patches
remain. Remove them.

Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-09-14 21:18:50 +03:00
Yogesh Sharma
a1b4ec3b17 glibc: fixed compile error
Fixed compile error with gcc 6.1 and glibc 2.23 involving missing parenthesis
with patch from glibc git repository, commit df1cf48777fe4cd81ad7fb09ecbe5b31432b7c1c.

Signed-off-by: Yogesh Sharma <YogeshASharma@gmail.com>
2016-09-07 10:16:52 -04:00
Yogesh Sharma
0ec2166f26 gcc: Migrated patches from 5.3.0 to 6.1.0
Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-07 10:15:56 -04:00
Yogesh Sharma
2f7adae8a7 duma: Fixed gcc 6.1.0 compile error
Fixed compile error for DUMA 2.5.15 due to different function prototypes
for new operator in c++03 vs c++11

Signed-off-by: Yogesh Sharma <ysharm01@harris.com>
2016-09-07 10:15:56 -04:00
kozyilmaz
deaa4b8ded xgcc: Update gcc 5 to 5.4.0
patches synced with buildroot trunk and:
110-xtensa-implement-trap-pattern.patch (copied to 5.4.0 patches)
130-build_gcc-5_with_gcc-6.patch (upstreamed in 5.4.0, dropped)
370-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (copied to 5.4.0 patches)
380-gcc-plugin-POSIX-include-sys-select-h.patch (copied to 5.4.0 patches)
910-nios2-bad-multilib-default.patch (copied to 5.4.0 patches)
2016-08-24 11:33:24 +03:00
Alexey Neyman
509cd85b12 nios2: bad option reported in multilib_defaults
multilib_defaults refers to -EL/-EB, but this target uses -mel/-meb and
does not recognize -EL/-EB.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-08-23 11:00:27 -07:00
Bryan Hundven
5a5fcbe148 patches/gcc: Backport fix for building gcc-5 with gcc-6
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959

...was observed while trying to build gcc-5.3.0 on latest (at the time
of this change) archlinux using gcc-6.1.1.

This patch fixes the issue.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-05-13 11:54:54 -07:00
Bryan Hundven
cd39285ff8 Merge pull request #373 from stilor/unbreak-ppc-uclibc
Unbreak samples
2016-05-12 20:34:42 -07:00
Bryan Hundven
176594e4a1 Merge pull request #366 from CDKGlobal/glibc-getaddrinfo
Add patch for glibc 2.22 for CVE-2015-7547.
2016-05-12 11:24:13 -07:00
Alexey Neyman
2c7f7cf847 Unbreak *-uclibc with native GDB.
Currently, native GDB 7.11 fails to build with uClibc-ng due to
undefined reference to _obstack_free.

On IRC
[http://crosstool-ng.osuosl.org/download/ibot-logs/2016-02-28.html], it
has been suggested to disable obstack in uClibc configuration. I think
it is a workaround rather than a fix: if another library/app needs
obstack, this leaves no viable configuration. IMO, if uClibc seeks to
mimic the glibc API, it should also provide _obstack_free call (an
alias for which it already has, even though commented out).

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-04-01 18:15:39 -07:00
Alexey Neyman
85af584872 Unbreak powerpc-unknown-linux-uclibc.
There is invalid assembly in dmalloc for PowerPC. The issue is that
'stw' expects a memory operand, and =g constraint allows both registers
and memory. Newer GCC tends to choose register even at -O0, resulting in
invalid assembly. Instead, force a register constraint in 'mflr' and let
GCC decide if it wants to store it into memory at all.

Reported this upstream.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-04-01 18:15:39 -07:00
Max Filippov
8a65d08b27 gcc: backport fixes that preserve FLAGS_FOR_TARGET
CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET are rewritten in gcc-4.8.x and
gcc-4.9.x, so libstdc++ does not get any flags passed to gcc configure.
Backport fixes for config/mt-gnu and config/mt-ospace that preserve these
flags. With these fixes libstdc++ gets built with flags specified in
CT_TARGET_CFLAGS.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-03-15 17:14:16 +03:00
Reser, Ben
9c7a41ea64 Add patch for glibc 2.22 for CVE-2015-7547.
This resolves a vulnerability related to getaddrinfo().
2016-03-04 15:36:19 -08:00
Joachim Nilsson
f9a704bd44 gdb: Help gnulib determine uClibc gettimeofday() is OK
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-25 18:37:22 +01:00
Joachim Nilsson
77d7a0f927 gdb: Add support for v7.11, port patches from v7.10.1 that apply
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2016-02-24 23:00:23 +01:00
Bryan Hundven
cb60114599 glibc: port glibc patch from 2.22 to 2.23
Only one patch ported forward from 2.22:

 * 100-Cygwin-doesnt-have-stat64.patch

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-23 10:38:00 -08:00
Max Filippov
c842c9fd31 binutils: fix .init/.fini literals moving in xtensa gas
Despite the documentation and the comment in xtensa_move_literals, in
the presence of --text-section-literals and --auto-litpools literals are
moved from the separate literal sections into .init and .fini, because
the check in the xtensa_move_literals is incorrect.

This fixes build errors seen with projects that have .init/.fini and use
text-section-literals.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-02-18 02:37:02 +03:00
Bryan Hundven
2741a568a6 Merge pull request #335 from jcmvbkbc/xtensa-binutils-loc-fix
binutils: fix .loc handling in xtensa gas
2016-02-05 19:46:54 -08:00
Max Filippov
b1459d123f binutils: fix .loc handling in xtensa gas
Binutils change 1058c7532d0b "Use signed data type for R_XTENSA_DIFF*
relocation offsets." changed signedness of BFD_RELOC_XTENSA_DIFF*
relocations substituted for BFD_RELOC_*. This made it impossible to
encode arbitrary 8-, 16- and 32-bit values, which broke e.g. debug info
encoding by .loc directive. Revert this part and add test.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2016-02-06 01:19:45 +03:00
Bryan Hundven
1edc845660 gdb: Update patches for gdb-7.10.1
Notable here is the removal of 10-setns-handling.patch, which is now
upstream.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-05 03:27:43 -08:00
Bryan Hundven
46c9c486d0 binutils: Update patches for binutils-2.26
This updates patches for 2.26. Most notably, the removal of the xtensa
patches which seem to be upstream in binutils now.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-02-04 23:50:19 -08:00
Kasumi Hanazuki
1ced27e223 patches/binutils: wcsncasecmp is provided by OSX >= 10.7
OSX SDK has a declaration for `wcsncasecmp` since 10.7, which conflicts with
the definition provided by the patch for binutils.

Signed-off-by: Kasumi Fukuda <kasumi@rollingapple.net>
2016-01-24 15:09:31 +09:00
Bryan Hundven
ce74282be4 Merge pull request #309 from bhundven/remove_old_binutils_versions
Remove old binutils versions
2016-01-05 21:45:48 -08:00
Ray Donnelly
9b4b569741 POSIX: Fix GCC 5+ plugin build failure on Cygwin
Cygwin follows POSIX IEEE Std 1003.1, 2004 Edition spec
for the select() fuction as described at:

http://pubs.opengroup.org/onlinepubs/009695399/functions/pselect.html

.. so we must #include <sys/select.h> for the declaration.

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2016-01-03 15:52:52 +00:00
Ray Donnelly
29f03e3295 Cygwin + MinGW-w64: GCC 5+ plugin support
Define PICFLAG, UNDEFINEDPREAMBLE and UNDEFINEDCODE to nothing since Windows
doesn't have -fPIC (GCC warns) and can't handle undefined variable references
(which are not needed anyway).

Signed-off-by: Ray Donnelly <mingw.android@gmail.com>
2016-01-03 15:52:26 +00:00
Bryan Hundven
91520c2b36 patches/binutils: Sync patches with buildroot
The buildroot patches have xtensa for the supported versions of binutils
we use, and a few others that might help us keep away from host
polution.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-03 03:05:27 -08:00
Bryan Hundven
ba8713947e patches/binutils: Remove old patches for binutils
Since we removed older binutils versions, remove patches as well.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-03 01:22:02 -08:00
Bryan Hundven
8f4019e693 gcc: Update gcc 5 to 5.3.0
Reported-by: Freddie Chopin <freddie.chopin@gmail.com>
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
2016-01-02 18:24:41 -08:00