aix: default to DWARF 4.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sun, 17 Jan 2021 20:39:46 +0000 (15:39 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sun, 17 Jan 2021 23:10:00 +0000 (18:10 -0500)
commit56b5d13e27891ed1caec07826a07bb2e0621f914
tree24cf088de2d7edc4c41f65e6a80fde0fea9c57fe
parent192105b6a2a1f24f974de98c933f372b06c1e06d
aix: default to DWARF 4.

GCC now defaults to DWARF 5.  AIX only supports DWARF 4 (3.5).

This patch overrides the default DWARF version to 4 unless explicitly
stated.

gcc/ChangeLog:

* config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Override
dwarf_version to 4.
* config/rs6000/aix72.h (SUBTARGET_OVERRIDE_OPTIONS): Same.
gcc/config/rs6000/aix71.h
gcc/config/rs6000/aix72.h