Commit Graph

853 Commits

Author SHA1 Message Date
mrg
6ae4e21064 merge gcc 4.8.2 r206687 (part 3). 2014-03-01 09:44:50 +00:00
mrg
19d950f76d merge gcc 4.8.2 r206687 (part 3). 2014-03-01 09:26:00 +00:00
mrg
d77920ccb7 merge gcc 4.8.2 r206687 (part 2). 2014-03-01 09:04:12 +00:00
mrg
23da6d05af merge gcc 4.8.2 r206687 (part 1). 2014-03-01 08:58:28 +00:00
mrg
48fb7bfab7 import GCC 4.8 branch at r206687.
highlights from: http://gcc.gnu.org/gcc-4.6/changes.html

   GCC now has stricter checks for invalid command-line options
   New -Wunused-but-set-variable and -Wunused-but-set-parameter
      warnings
   Many platforms have been obsoleted
   Link-time optimization improvements
   A new switch -fstack-usage has been added
   A new function attribute leaf was introduced
   A new warning, enabled by -Wdouble-promotion
   Support for selectively enabling and disabling warnings via
      #pragma GCC diagnostic has been added
   There is now experimental support for some features from the
      upcoming C1X revision of the ISO C standard
   Improved experimental support for the upcoming C++0x ISO C++
      standard
   G++ now issues clearer diagnostics in several cases
   Updates for ARM, x86, MIPS, PPC/PPC64, SPARC
   Darwin, FreeBSD, Solaris 2, MinGW and Cygwin now all support
      __float128 on 32-bit and 64-bit x86 targets. [*1]

highlights from: http://gcc.gnu.org/gcc-4.7/changes.html

   The -fconserve-space flag has been deprecated
   Support for a new parameter --param case-values-threshold=n
      was added
   Interprocedural and Link-time optimization improvements
   A new built-in, __builtin_assume_aligned, has been added
   A new warning option -Wunused-local-typedefs was added
   A new experimental command-line option -ftrack-macro-expansion
      was added
   Support for atomic operations specifying the C++11/C11 memory
      model has been added
   There is support for some more features from the C11 revision
      of the ISO C standard
   Improved experimental support for the new ISO C++ standard,
      C++11
   Updates for ARM, x86, MIPS, PPC/PPC64, SH, SPARC, TILE*
   A new option (-grecord-gcc-switches) was added

highlights from: http://gcc.gnu.org/gcc-4.8/changes.html

   GCC now uses C++ as its implementation language.  This means
      that to build GCC from sources, you will need a C++
      compiler that understands C++ 2003
   DWARF4 is now the default when generating DWARF debug
      information
   A new general optimization level, -Og, has been introduced
   A new option -ftree-partial-pre was added
   The option -fconserve-space has been removed
   The command-line options -fipa-struct-reorg and
      -fipa-matrix-reorg have been removed
   Interprocedural and Link-time optimization improvements
   AddressSanitizer, a fast memory error detector, has been
      added  [*2]
   A new -Wsizeof-pointer-memaccess warning has been added
   G++ now supports a -std=c++1y option for experimentation
      with features proposed for the next revision of the
      standard, expected around 2014
   Improved experimental support for the new ISO C++ standard,
      C++11
   A new port has been added to support AArch64
   Updates for ARM, x86, MIPS, PPC/PPC64, SH, SPARC, TILE*


[*1] we should support this too!
[*2] we should look into this.
     https://code.google.com/p/address-sanitizer/
2014-03-01 08:41:18 +00:00
mrg
6095fc3e45 re-import GCC 4.5* with latest fixes to build as gcc.old.
should be the last time we need to do this.
2014-02-27 09:11:34 +00:00
mrg
da20665cd1 fix some paths. 2014-02-27 09:08:49 +00:00
martin
2475eadfda Explicitly remove .note.netbsd.mcmodel sections (eroneously generated
on sparc64 during intermediate linking)
2014-02-27 09:05:08 +00:00
mrg
1d17fc7d57 fix another dated DIST. 2014-02-27 07:35:04 +00:00
mrg
ab9e33f305 delete 'difz' as well, in case i've left it.
XXX: consider running 'cvs up -dPA -I\! -I.CVS -ICVS' first?
2014-02-26 22:29:40 +00:00
mrg
076dfc8240 oops, avoid re-setting DIST to something that might be wrong now. 2014-02-26 22:27:10 +00:00
mrg
9fa1c2f8d5 oops, did not mean to commit this. 2014-02-26 22:04:17 +00:00
mrg
8c809a251b fix a typo (from cegger)
fix the date call (from tn)
2014-02-26 21:18:14 +00:00
christos
8bd2f7ae4f powerpc64 support 2014-02-26 15:34:23 +00:00
mrg
6acb51a6d4 update gcc.old from GCC 4.5 versions that build with EXTERNAL_GCC_SUBDIR,
should be identicaly for the 'dist' subdir.
2014-02-26 10:56:10 +00:00
mrg
7c65b26638 script to copy gcc to gcc.old, ready for importing. 2014-02-26 10:50:23 +00:00
mrg
afa90f2bf5 prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.
2014-02-26 09:54:32 +00:00
christos
08ee8ae311 regen powerpc64 2014-02-26 03:11:37 +00:00
mrg
07ece4eabb import the -current GCC 4.5 sources as gcc.old in preparation for
upgrading the normal GCC to 4.8.

this tree has had ChangeLog entries removed, as well as all the
other components we delete, and "only" weighs in around 140MB now.
2014-02-25 18:38:34 +00:00
mrg
b46213d689 add */po and itm/testsuite. 2014-02-23 05:46:28 +00:00
mrg
4a051ef7c3 remove the testsuite and po subdirectories.
27292 files are removed in this series of commits.
2014-02-23 02:05:49 +00:00
mrg
bc30b52fcc don't look in libiberty/testsuite for anything, it's going away. 2014-02-23 01:59:40 +00:00
matt
700fb1c20d Always supply LIB_PATH in case one of the included scripts set it to
something inappropriate.
2014-02-06 18:28:28 +00:00
matt
b3a8421d95 Don't unset LIB_PATH, just override it. 2014-02-06 15:40:47 +00:00
wiz
1193e8963a Try improving a comment. 2014-02-03 14:15:07 +00:00
christos
fef7521afe remove stale comment and explain what we are doing. thanks dsl 2014-02-02 23:17:54 +00:00
christos
cf1ad84b0d Fix threading bug again. 2014-02-02 22:00:38 +00:00
matt
6a41a228a5 Fix TARGET_LINKER_EABI_SUFFIX to actually use the right suffix. Since this
now depends on the default float-abi, pick from two strings to select the
right suffix.
2014-01-31 07:58:39 +00:00
matt
57eaac67d3 Regen for missing emulations. 2014-01-31 07:56:18 +00:00
matt
420036df2f Use separate emulations for EABI hardfloat / softfloat. 2014-01-31 07:32:53 +00:00
matt
42f0af0447 Add armelf{,b}_nbsd_eabihf emulations for MKCOMPAT to use. 2014-01-31 03:26:50 +00:00
matt
f5d761233f Make {,U}INTPTR_TYPE long 2014-01-30 01:06:11 +00:00
matt
ff329494be Fix typo bsd -> nbsd 2014-01-29 23:16:14 +00:00
matt
98a4b7b58e Add missing emulations for armelf{,b}_nbsd 2014-01-29 22:39:47 +00:00
matt
175c9fb16a Fix arm eabi typo 2014-01-29 05:27:35 +00:00
bouyer
bf5517d87e Fix http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57260 (patch from
gcc's repository). This bugs show up with Xorg, preventing  xf86-video-sis and
xf86-video-silicon modules from being loaded.
2014-01-26 21:26:02 +00:00
apb
6be92fc766 Don't embed ${DESTDIR} in the -DDEBUGDIR=... value.
DEBUGDIR should refer to a directory on the running system,
not the staging area used during a build.
2014-01-20 10:49:33 +00:00
mrg
666a6b2604 delete .svn subdirs as part of the pre-import. 2014-01-19 00:37:30 +00:00
matt
f536e5d427 Don't pass -Wl,-x to ${CC} since that strips symbols needed by ARM BE.
Let the OBJCOPY strip them.
2014-01-11 02:45:52 +00:00
matt
50d26cbd5b Don't use ${LD} -x because it screws up ARM BE.
Use ${OBJCOPY} ${OBJCOPYLIBFLAGS} instead so that $a/$d/$t are preserved.
2014-01-11 00:30:23 +00:00
christos
a15708a3bd gcc-4.8 has begun putting code in .text.unlikely etc. This breaks our
assumption that .text code comes first in kernels about bootblock so
that the first symbol defined becomes the start address. This change
puts .text before other .text like sections.
2014-01-04 20:17:42 +00:00
joerg
149b982b18 Fix string compare. 2014-01-04 03:19:00 +00:00
martin
8b9e38f519 Port from newer gcc:
Add a "mem_noofs_operand" predicate and corresponding "w" constraint.
Use those instead of "memory_reg_operand"/"m" for some atomic instrinsic
patterns: casx (and friends) do not accept an offset from the pointer
register (they are synthetic instructions mapping to e.g. casxa [..]
ASI_P, ... and the opcode space encoding offsets in other instructions
is needed to encode the ASI here).

This fixes the build of gtk+-3.10.6 from pkgsrc on sparc64.
2014-01-03 08:30:41 +00:00
jakllsch
1fa26414d5 regenerate for src/external/gpl3/binutils/dist/bfd/config.bfd r1.10:
Enable 32/64-bit PE-COFF targets for NetBSD/i386 in libbfd.
Needed to build UEFI things for IA32 using native toolchain.
2013-12-24 16:01:07 +00:00
jakllsch
0bfb2660a5 Enable 32/64-bit PE-COFF targets for NetBSD/i386 in libbfd.
Needed to build UEFI things for IA32 using native toolchain.
2013-12-24 15:06:39 +00:00
mrg
d5944a5b77 update to reality for gcc 4.8.2. 2013-12-13 10:01:49 +00:00
bouyer
0700bebfda Fix bad cut'n'paste in previous commit.
This should fix the remaining loogson build issues.
2013-12-10 18:15:43 +00:00
joerg
a7e7f7e044 One const ought to be enough for every variable. 2013-12-01 01:05:15 +00:00
joerg
e4c0f6ad28 Allow gnueabi to be matched for the relevant cases as well. 2013-11-29 23:01:54 +00:00
bouyer
95d1a8853c update for new binutils code our local patch to avoid warnings when macro are
used for loongson2f workarounds. Should fix mips64el kernel builds.
2013-11-28 22:28:30 +00:00
mrg
c25882ee01 handle with moved mpfr*.h files. 2013-11-28 13:04:35 +00:00
mrg
75219f3a01 update to MPC 1.0.1. 2013-11-28 12:08:56 +00:00
skrll
1cd7a8f9b7 Fix silly typo 2013-11-14 12:44:25 +00:00
martin
3d01f81a9c On sparc64 when compiling 64bit binaries:
- if proper "marker" objects exist, encode the code model in use in the
   binary
 - default to -mcmodel=medmid (instead of medlow)
2013-11-14 12:21:05 +00:00
christos
5435e94952 CID 1102803: Memory leak 2013-11-14 02:26:35 +00:00
christos
16129349e4 CID 1102810: Fix uninitialized 2013-11-14 01:18:02 +00:00
christos
95ea4fb705 CID 1102811: Unitialized variable. Don't pass random sun_len for the BSD's,
zero the whole structure as recommended for portability.
2013-11-14 01:14:39 +00:00
christos
cf3d00d2c6 CID 1102856: Fix memory leak 2013-11-14 01:12:14 +00:00
christos
87ddf4238e CID 1102812: Fix uninitialized 2013-11-14 01:00:22 +00:00
joerg
70f0cfa164 NetBSD 6.99.26: Switch i386 and amd64 to the x87 default control word
as initial value for new processes. This means that long double
computations get the expected 63bit mantissa. Binaries tagged as
compiled for 6.99.25 and older get the old value.

Add a simple test case to ensure that double and long double computation
are working correctly.
2013-11-11 11:10:45 +00:00
christos
f55ff5e8dd vax specific gcc 4.8.1 hacks 2013-11-09 21:39:27 +00:00
gdt
0b42bf56be Use -f with cp to cope with nonwritable files in . 2013-11-05 02:32:12 +00:00
christos
c9aa9a4e40 fix broken volatile assignment that gcc-4.8.1 does not like 2013-11-01 18:13:29 +00:00
christos
5612798f34 make the code compilable with gcc-4.8.1; this loop has an array overflow,
but it is only used for sparc register windows; ifdef it sparc for now,
it's the easiest fix.
2013-11-01 18:12:49 +00:00
christos
cb2bd1517d pick up omp.h from the libgomp directory not from /usr/include/gcc-4.5. Makes
the code compilable with gcc-4.8.1
2013-11-01 18:11:49 +00:00
christos
79581a2559 Handle more than gcc 4.5 2013-10-31 17:28:10 +00:00
joerg
a07180c32d Recursively add DT_NEEDED entries from shared libraries if symbols are
used indirectly. This is more in line with the old GNU ld behavior, but
not exactly the desired semantic.

Patch from Martin Husemann.
2013-10-25 14:28:28 +00:00
apb
50c2b69fc0 When building gcc using clang, avoid trying to use
__attribute__((__format__(__asm_fprintf__, ...)))
because clang doesn't support that.
2013-10-18 13:24:40 +00:00
apb
fb6cc47310 Run ../bfd/configure under ${CONFIG_SHELL}, not under
the /bin/sh that happens to be mentioned in its "#!" line.
2013-10-15 07:18:18 +00:00
apb
1b5c4ef5db If the shell does not support the $LINENO variable, then use
"bfd_configure.lineno" instead of "configure.lineno" as the name of the
a version of the script that has had all uses of $LINENO converted to
literal line numbers.

Now building tools via "MKCROSSGDB=yes build.sh tools" works again, even
if the shell does not support $LINENO.

The previous problem was caused by an interaction
between the way .../gdb/dist/opcodes/configure executes
"${srcdir}/../bfd/configure --version", and the way both configure
scripts tried to create and then execute configure.lineno scripts.
Both configure.lineno scripts were created in the same OBJDIR,
with the configure.lineno from .../bfd/configure overwriting the
configure.lineno from .../opcodes/configure, while the latter was
still running.
2013-10-15 07:14:59 +00:00
nisimura
bbf0c42bc0 remove garbage lines mistakenly included when def.mk generation. 2013-10-11 01:20:52 +00:00
christos
ebc3424719 dollarize NetBSD tag 2013-10-05 18:38:03 +00:00
christos
45fd133595 mother's little helper. 2013-10-05 18:37:16 +00:00
christos
26ac899854 remove error(1) output. 2013-10-05 16:52:55 +00:00
christos
f84ee3a147 fix alpha 2013-10-04 23:41:59 +00:00
christos
9e391dc454 merge alpha changes 2013-10-04 23:40:17 +00:00
mrg
b52c619931 regenerate for gdb 7.6. 2013-10-04 22:31:12 +00:00
christos
4c55f68194 Allow bfd_mach_arm4 machines to produce a.out binaries.
Perhaps we should just let every arm machine produce them?
Or we should use M_ARM6_NETBSD midmag for those?
2013-10-04 18:08:02 +00:00
christos
c7ae7b152f fix i386 build. 2013-10-04 15:24:44 +00:00
christos
39fb2232d3 new need to run yacc/lex now, since the generated files have been removed
and account for the ada dependencies.
2013-10-04 13:04:00 +00:00
mrg
52d8d9b995 regenerate with G_enable_initfini_array fix. 2013-10-04 03:38:32 +00:00
mrg
57a995ec5d regenerate for G_enable_initfini_array fix. 2013-10-04 01:41:20 +00:00
mrg
cf5b64618e gdb 7.6 mknative for mips64el. 2013-10-04 01:16:50 +00:00
mrg
84e9dd17ed regenerate mknative-gdb for GDB 7.6 for coldfire, earmeb, m68k,
mips64eb, mipsel, sh3eb and sh3el.
2013-10-04 01:09:03 +00:00
mrg
6f88083e54 delete generated files; they mess with r/o source trees and builds
that happen in src/tools/gdb.
2013-10-04 00:42:13 +00:00
mrg
9d2d9e2859 regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.
2013-10-03 23:42:38 +00:00
christos
7bfbcd5f15 add powerpc 2013-10-03 21:46:02 +00:00
christos
a5126fe978 forgot one 2013-10-03 21:18:48 +00:00
christos
50d96202b7 more regen 2013-10-03 21:17:13 +00:00
christos
c2782f4502 fix sparc 2013-10-03 21:08:49 +00:00
christos
b663ed3a1d fix bad merge 2013-10-03 20:11:16 +00:00
skrll
5591d9a73d earmhf* gdb mknative files. 2013-10-03 19:51:37 +00:00
skrll
ba128b180e More gdb mknative files. 2013-10-03 19:43:04 +00:00
skrll
043b2112f2 Re-run mknative gdb for hppa. 2013-10-03 19:32:38 +00:00
christos
16d511cf01 add new files 2013-10-03 18:50:29 +00:00
christos
34f40950d3 regen... 2013-10-03 18:39:30 +00:00
christos
387b2ceb98 merge conflicts 2013-10-03 18:30:43 +00:00
christos
7291a90d42 work around 2 kluges:
1. having the same named file in two different directories (agent.c)
2. trying to override fnmatch twice (easier than making configure mechanism
   to not overwrite).
2013-10-03 18:07:32 +00:00
christos
53fc309f36 need more includes and libraries. 2013-10-03 18:06:11 +00:00
christos
08821bd257 use the main from the previous version of gdb because it is now gone 2013-10-03 18:05:48 +00:00
christos
326e8ab86b need more libraries and directories 2013-10-03 18:05:27 +00:00
christos
a2e2270fc5 Import gdb 7.6.1
News from: http://sourceware.org/gdb/news:

August 30th, 2013: GDB 7.6.1 Released!
The latest version of GDB, version 7.6.1, is available for download.

This is a minor corrective release over GDB 7.6, fixing the following issues:

PR tdep/15420 (Cannot debug threaded programs on newer versions of x86-solaris - Solaris 10, Update 10 or later)
PR remote/15455 (QTro remote packet broken)
PR build/15476 (Build failure due to incomplete enum type in utils.h)
PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend address to 64 bit)
PR server/15075 (dprintf inteferes with "next")
PR server/15434 (dprintf uses a synchronous 'continue' even in non-stop mode)
PR tui/14880 (In split register layouts, up results in assertion failure in value.c)
PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain core file)
PR gdb/15837 (GDB prints entry values for local variables)
PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
PR cli/15603 (CTRL-C can no longer interrupt inferior)
PR gdb/15604 (gdbserver socket leak 7.5 regression)
April 26th, 2013: GDB 7.6 Released!
The latest version of GDB, version 7.6, is available for download.

Changes in this release include:

New native configurations (ARM AArch64 GNU/Linux, FreeBSD/powerpc, 86_64/Cygwin and Tilera TILE-Gx GNU/Linux)
New target configurations (ARM AArch64, ARM AArch64 GNU/Linux, Lynx 178 PowerPC, x86_64/Cygwin, and Tilera TILE-Gx GNU/Linux)
Support for the "mini debuginfo" section, .gnu_debugdata
The C++ ABI now defaults to the GNU v3 ABI
More Python scripting improvements
Some GDB/MI improvements
New configure options, new commands, and options
New remote packets
A new "target record-btrace" has been added while the "target record" command has been renamed to "target record-full"
See the NEWS file for a more complete and detailed list of what this release includes.
March 12th, 2013: GDB 7.6 branch created
The GDB 7.6 branch (gdb_7_6-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_6-branch gdb
November 29th, 2012: GDB 7.5.1 Released!
The latest version of GDB, version 7.5.1, is available for download.

This is a minor corrective release over GDB 7.5, fixing the following issues:

An "Attempt to dereference a generic pointer" errors (-var-create).
Backtrace problems on x32 (PR backtrace/14646).
next/step/finish problems on x32 (PR gdb/14647).
A "malformed linespec error: unexpected keyword, [...]" error (PR breakpoints/14643).
GDB crash while stepping through powerpc (32bits) code.
A failed assertion in linux_ptrace_test_ret_to_nx.
A "!frame_id_inlined_p (frame_id)" failed assertion.
A "No more reverse-execution history." error during reverse "next" execution (PR 14548).
Incomplete command descriptions in "apropos" output.
PR gdb/14494 (a GDB crash difficult to characterize).
Various build warnings.
August 17th, 2012: GDB 7.5 Released!
The latest version of GDB, version 7.5, is available for download.

Changes in this release include:

Go language support.
New targets (x32 ABI, microMIPS, Renesas RL78, HP OpenVMS ia64).
More Python scripting improvements.
SDT (Static Defined Tracing) probes support with SystemTap probes.
GDBserver improvements (stdio connections, target-side evaluation of breakpoint conditions, remote protocol improvements).
Other miscellaneous improvements (ability to stop when a shared library is loaded/unloaded, dynamic printf, etc).
Reverse debugging on ARM.
The binary "gdbtui" has been abandoned and can no longer be built. Use "gdb -tui" instead.
See the NEWS file for a more complete and detailed list of what this release includes.
July 17th, 2012: GDB 7.5 branch created
The GDB 7.5 branch (gdb_7_5-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_5-branch gdb
April 26th, 2012: GDB 7.4.1 Released!
The latest version of GDB, version 7.4.1, is available for download.

This is a minor corrective release over GDB 7.4, fixing the following issues:

[GDB/MI] Error when resuming program execution in all-stop mode ("Cannot execute this command without a live selected thread").
[Pascal] Polluted display of class methods parameters.
[target remote] Errror when connecting to remote target where disconnected tracing is in effect.
[AVX] Float and ymm* register values not available.
[GDB] Crash when using the "finish" command.
[build] makeinfo should not be required to build GDB.
January 24th, 2012: GDB 7.4 Released!
The latest version of GDB, version 7.4, is available for download.

Changes in this release include:

Many Python scripting improvements
Better support for ambiguous linespecs
Masked watchpoints
Tracepoint support improvements
Support for Texas Instruments TMS320C6x (tic6x-*-*)
A Renesas RL78 simulator (rl78-*-elf)
Some minor Remote protocol extensions and GDB/MI changes
See the NEWS file for a more complete and detailed list of what this release includes. Note that the gdbtui binary is deprecated, starting with GDB 7.5. Use "gdb -tui" instead.
January 9, 2012: Extensibility support using Guile
GDB ought to support extensibility using Guile, the GNU extensibility package (an implementation of Scheme). We are looking for people to write the code to interface the two. Please write to gdb-patches AT sourceware DOT org if you are interested.

December 13, 2011: GDB 7.4 branch created
The GDB 7.4 branch (gdb_7_4-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_4-branch gdb
September 30, 2011: Release Mistakes in GDB Versions 6.0 - 7.3
A mistake has been detected in the release tar files for all GDB releases from version 6.0 to version 7.3 (included). The mistake has been corrected, and the FSF issued the following announcements:

Making up for a release mistake in GDB versions 6.0 - 6.6
Making up for a release mistake in GDB versions 6.7 - 7.3
2013-10-03 15:43:18 +00:00
christos
a3ca70b115 regen 2013-10-03 15:43:17 +00:00
christos
05598a803d Import gdb 7.6.1
News from: http://sourceware.org/gdb/news:

August 30th, 2013: GDB 7.6.1 Released!
The latest version of GDB, version 7.6.1, is available for download.

This is a minor corrective release over GDB 7.6, fixing the following issues:

PR tdep/15420 (Cannot debug threaded programs on newer versions of x86-solaris - Solaris 10, Update 10 or later)
PR remote/15455 (QTro remote packet broken)
PR build/15476 (Build failure due to incomplete enum type in utils.h)
PR server/15594 (tls support in 64x32 x86 gdbserver doesn't extend address to 64 bit)
PR server/15075 (dprintf inteferes with "next")
PR server/15434 (dprintf uses a synchronous 'continue' even in non-stop mode)
PR tui/14880 (In split register layouts, up results in assertion failure in value.c)
PR c++/15519 (GDB 7.6 is 94x slower than GDB 7.5.1 using a certain core file)
PR gdb/15837 (GDB prints entry values for local variables)
PR gdb/15415 (gdb resolves symbolic links when passing argv[0])
PR cli/15603 (CTRL-C can no longer interrupt inferior)
PR gdb/15604 (gdbserver socket leak 7.5 regression)
April 26th, 2013: GDB 7.6 Released!
The latest version of GDB, version 7.6, is available for download.

Changes in this release include:

New native configurations (ARM AArch64 GNU/Linux, FreeBSD/powerpc, 86_64/Cygwin and Tilera TILE-Gx GNU/Linux)
New target configurations (ARM AArch64, ARM AArch64 GNU/Linux, Lynx 178 PowerPC, x86_64/Cygwin, and Tilera TILE-Gx GNU/Linux)
Support for the "mini debuginfo" section, .gnu_debugdata
The C++ ABI now defaults to the GNU v3 ABI
More Python scripting improvements
Some GDB/MI improvements
New configure options, new commands, and options
New remote packets
A new "target record-btrace" has been added while the "target record" command has been renamed to "target record-full"
See the NEWS file for a more complete and detailed list of what this release includes.
March 12th, 2013: GDB 7.6 branch created
The GDB 7.6 branch (gdb_7_6-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_6-branch gdb
November 29th, 2012: GDB 7.5.1 Released!
The latest version of GDB, version 7.5.1, is available for download.

This is a minor corrective release over GDB 7.5, fixing the following issues:

An "Attempt to dereference a generic pointer" errors (-var-create).
Backtrace problems on x32 (PR backtrace/14646).
next/step/finish problems on x32 (PR gdb/14647).
A "malformed linespec error: unexpected keyword, [...]" error (PR breakpoints/14643).
GDB crash while stepping through powerpc (32bits) code.
A failed assertion in linux_ptrace_test_ret_to_nx.
A "!frame_id_inlined_p (frame_id)" failed assertion.
A "No more reverse-execution history." error during reverse "next" execution (PR 14548).
Incomplete command descriptions in "apropos" output.
PR gdb/14494 (a GDB crash difficult to characterize).
Various build warnings.
August 17th, 2012: GDB 7.5 Released!
The latest version of GDB, version 7.5, is available for download.

Changes in this release include:

Go language support.
New targets (x32 ABI, microMIPS, Renesas RL78, HP OpenVMS ia64).
More Python scripting improvements.
SDT (Static Defined Tracing) probes support with SystemTap probes.
GDBserver improvements (stdio connections, target-side evaluation of breakpoint conditions, remote protocol improvements).
Other miscellaneous improvements (ability to stop when a shared library is loaded/unloaded, dynamic printf, etc).
Reverse debugging on ARM.
The binary "gdbtui" has been abandoned and can no longer be built. Use "gdb -tui" instead.
See the NEWS file for a more complete and detailed list of what this release includes.
July 17th, 2012: GDB 7.5 branch created
The GDB 7.5 branch (gdb_7_5-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_5-branch gdb
April 26th, 2012: GDB 7.4.1 Released!
The latest version of GDB, version 7.4.1, is available for download.

This is a minor corrective release over GDB 7.4, fixing the following issues:

[GDB/MI] Error when resuming program execution in all-stop mode ("Cannot execute this command without a live selected thread").
[Pascal] Polluted display of class methods parameters.
[target remote] Errror when connecting to remote target where disconnected tracing is in effect.
[AVX] Float and ymm* register values not available.
[GDB] Crash when using the "finish" command.
[build] makeinfo should not be required to build GDB.
January 24th, 2012: GDB 7.4 Released!
The latest version of GDB, version 7.4, is available for download.

Changes in this release include:

Many Python scripting improvements
Better support for ambiguous linespecs
Masked watchpoints
Tracepoint support improvements
Support for Texas Instruments TMS320C6x (tic6x-*-*)
A Renesas RL78 simulator (rl78-*-elf)
Some minor Remote protocol extensions and GDB/MI changes
See the NEWS file for a more complete and detailed list of what this release includes. Note that the gdbtui binary is deprecated, starting with GDB 7.5. Use "gdb -tui" instead.
January 9, 2012: Extensibility support using Guile
GDB ought to support extensibility using Guile, the GNU extensibility package (an implementation of Scheme). We are looking for people to write the code to interface the two. Please write to gdb-patches AT sourceware DOT org if you are interested.

December 13, 2011: GDB 7.4 branch created
The GDB 7.4 branch (gdb_7_4-branch) has been created. To check out a copy of the branch use:

cvs -d :pserver:anoncvs@sourceware.org:/cvs/src co -r gdb_7_4-branch gdb
September 30, 2011: Release Mistakes in GDB Versions 6.0 - 7.3
A mistake has been detected in the release tar files for all GDB releases from version 6.0 to version 7.3 (included). The mistake has been corrected, and the FSF issued the following announcements:

Making up for a release mistake in GDB versions 6.0 - 6.6
Making up for a release mistake in GDB versions 6.7 - 7.3
2013-10-03 15:42:14 +00:00
martin
9083b1cffb Apply rev 1.5 again, from Matt Thomas:
Fix problem leading to triggering a BFD assert: when allocating space in the
got, do not allocate slots for symbols without default visibility.
2013-10-03 12:06:04 +00:00
christos
6ee96ec804 If building with MKPIC=no, then set PICFLAGS to empty, otherwise bsd.lib.mk
sets PICFLAGS=-fPIC and we pick this via CSHLIBFLAGS to build .o objects.
This breaks the sun2 port, because with -fPIC we end up producing short
relative pic branches for $_exception_handler, so we get relocation errors.
Arguably:
	1. MKPIC=no should not set PICFLAGS in bsd.lib.mk
	2. CSHLIBFLAGS should not be used in non pic (.o) productions
2013-10-02 18:25:43 +00:00
christos
585258c6b9 Fix mips platforms (no need for -wrapper for lex) 2013-10-02 14:35:33 +00:00
mrg
4e64e7add5 regen mknative for coldfire / binutils 2.23.2. 2013-10-01 16:56:51 +00:00
skrll
ec517edb39 Use G_enable_initfini_array and default to no while mknative is rerun. 2013-10-01 16:07:35 +00:00
skrll
7a7ff791ae Re-run binutils mknative for amd64 to grab enable_initfini_array 2013-10-01 15:43:00 +00:00
skrll
27a6d4d8b4 Finally re-run mknative binutils for armeb 2013-10-01 10:57:52 +00:00
skrll
82dcfc189d Default to ARM_ARCH_V4.
Minimum processor for all arm ports is really StrongARM and has been for
sometime.
2013-10-01 10:06:17 +00:00
skrll
55b5274d5c Even though the world is moving to earm provide a CPU_DEFAULT for arm
targets.

This stops the "Warning: swp{b} use is obsoleted for ARMv8 and later"
messages and probably others.

Discussed with matt@
2013-09-30 16:16:31 +00:00
mrg
5dc4313e39 mknative binutils 2.23.2 updates for m68000, mips64*, powerpc, sh3* and sparc 2013-09-30 06:01:36 +00:00
skrll
b529dd4137 Rerun binutils mknative for mipsel 2013-09-29 20:14:26 +00:00
skrll
3834f45b30 Fix trap_zero_jump for new binutils.
XXX someone who really understand this should check it.
2013-09-29 20:13:42 +00:00
skrll
83d6843df4 Rerun mknative binutils for more arm variants 2013-09-29 17:51:42 +00:00
skrll
ae482c4b6b Rerun mknative binutils for hppa 2013-09-29 16:31:39 +00:00
skrll
0765cfe98c Regen mknative binutils for earm 2013-09-29 16:24:27 +00:00
skrll
b4074763f3 Rerun mknative binutils for alpha. 2013-09-29 15:38:19 +00:00
christos
fc7466da82 regen 2013-09-29 14:20:35 +00:00
christos
b410d6928d resolve conflicts 2013-09-29 14:03:29 +00:00
christos
4e795f0325 from ftp.gnu.org 2013-09-29 13:48:10 +00:00
christos
883529b685 from ftp.gnu.org 2013-09-29 13:38:08 +00:00
joerg
4d12bfcd15 Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
2013-09-12 15:36:14 +00:00
matt
92fd66d6e7 Teach readelf how to interpet netbsd notes.
Notes at offset 0x00000128 with length 0x00000018:
  Owner         Data size       Description
  NetBSD        0x00000004      IDENT 699002300 (6.99.23)

Notes at offset 0x00000154 with length 0x00000020:
  Owner         Data size       Description
  NetBSD        0x00000009      MARCH <earmv7hf>
2013-09-11 18:53:54 +00:00
matt
ae05909c70 Even though both gas and ld support .cfi_personality, gcc fails to emit
them so we get DT_TEXTREL problems.
So if pic && SHARED, we force EH_FRAME to be writeable (which is what would
happen if .cfi_personality was not supported).
2013-08-26 14:24:22 +00:00
matt
cc666660e5 More evbarmv5 fixes. 2013-08-23 05:02:46 +00:00
matt
bea0daea2f If we want unwind tables, defined __UNWIND_TABLES__ 1 2013-08-23 00:22:16 +00:00
matt
56e7d6a06d Make earmv5 work. 2013-08-22 16:03:30 +00:00
matt
6e02d04301 Add MACHINE_ARCH's evbearmv5-e[bl] to work 2013-08-22 00:17:48 +00:00
matt
7ecefb12d5 Add MACHINE_ARCH's evbearmv5-e[bl] to work
Don't build _muldi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 on earm and coldfire
2013-08-22 00:16:54 +00:00
matt
79d6dc9d9c When compiling use @PLTPC to generate PLT relocs for NetBSD.
When building libgcc_s.so for m68k, this gets rid of
m68k--netbsdelf/4.5.4/../../../../m68k--netbsdelf/bin/ld: warning: creating a DT_TEXTREL in a shared object.
2013-08-21 21:11:30 +00:00
matt
6d142d8571 Add cortex-a7 2013-08-19 22:23:12 +00:00
matt
0cd90176f0 Enable sdiv/udiv instructions for both Thumb2 and ARM if hwdiv is supported. 2013-08-17 05:43:02 +00:00
matt
01eac15926 If hardware divide is supported on the CPU, predefine __ARM_ARCH_EXT_IDIV__ 2013-08-17 05:42:06 +00:00
matt
a3659d97dc Fix botch. 2013-08-16 21:59:01 +00:00
matt
699e28bb7d Teach gcc to recognize a7 & a15 as a9 but with hwdiv. 2013-08-16 21:04:07 +00:00
drochner
4902aed8dd remove some files which will be regenerated during build, avoids
writes into $BSDSRCDIR
2013-08-13 20:38:08 +00:00
drochner
debeb3b18a add to CLEANFILES at some places, for generated files 2013-08-13 19:29:45 +00:00
joerg
2004814a3c Enable unwind tables by default. Assert the default in target-def.h to
make sure that it sticks.
2013-08-12 21:22:18 +00:00
joerg
8c1edcc065 Disable STABS and MIPS SDB extensions. This enables the use of CFI
instructions for the DWARF2 emission.
2013-08-12 21:04:17 +00:00
matt
83b2ab469f Match arm*-*-netbsdelf*-* 2013-08-12 05:14:24 +00:00
matt
51863888cd GCC configury for earmv4eb earmv6eb earmv6hfeb 2013-08-06 16:09:13 +00:00
matt
3dc76db13e gcc configury for earmv4, earmv6, earmv6hf, earmv7, earmv7hf 2013-08-06 05:41:38 +00:00
matt
c02c0d70e0 Use armv[4-7] to be consistent 2013-08-06 05:36:42 +00:00
matt
0d76fcf318 Use armv[4-7] to be consistend 2013-08-06 05:35:56 +00:00
matt
dc121a0d2a earmv7eb gcc configury 2013-08-05 03:36:48 +00:00
matt
c75f20af22 Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467]. 2013-08-05 03:22:45 +00:00
matt
8c5076b89b Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.
2013-08-05 00:17:52 +00:00