s390.c (s390_option_override): Disable DWARF 3/4 extensions for TPF, unless specifically selected.

* config/s390/s390.c (s390_option_override): Disable DWARF 3/4
extensions for TPF, unless specifically selected.

From-SVN: r190023
This commit is contained in:
DJ Delorie 2012-07-31 18:21:21 -04:00 committed by DJ Delorie
parent 7099ce06b0
commit b3e8a0d246
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2012-07-31 DJ Delorie <dj@redhat.com>
* config/s390/s390.c (s390_option_override): Disable DWARF 3/4
extensions for TPF, unless specifically selected.
2012-08-01 Alan Modra <amodra@gmail.com>
PR target/54131

View file

@ -1654,6 +1654,16 @@ s390_option_override (void)
maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, 2,
global_options.x_param_values,
global_options_set.x_param_values);
if (TARGET_TPF)
{
/* Don't emit DWARF3/4 unless specifically selected. The TPF
debuggers do not yet support DWARF 3/4. */
if (!global_options_set.x_dwarf_strict)
dwarf_strict = 1;
if (!global_options_set.x_dwarf_version)
dwarf_version = 2;
}
}
/* Map for smallest class containing reg regno. */