[rs6000] Rewrite the declaration of a variable
authorBin Bin Lv <shlb@linux.ibm.com>
Thu, 19 Mar 2020 16:10:44 +0000 (12:10 -0400)
committerBin Bin Lv <shlb@linux.ibm.com>
Fri, 20 Mar 2020 03:32:44 +0000 (23:32 -0400)
commit4a18f168f47cfa4a41a01aad64a6041eab64ad7b
tree447f4e16dc810742d203f92e9b63450f8599b31f
parent94e2418780f1d13235f3e2e6e5c09dbe821c1ce3
[rs6000] Rewrite the declaration of a variable

Rewrite the declaration of toc_section from the source file rs6000.c to its
header file for standardizing the code.

Bootstrap and regression were done on powerpc64le-linux-gnu (LE) with no
regressions.

gcc/ChangeLog

2020-03-20  Bin Bin Lv  <shlb.linux.ibm.com>

* config/rs6000/rs6000-internal.h (toc_section): Remove the
declaration.
* config/rs6000/rs6000.h (toc_section): Add the declaration.
* config/rs6000/rs6000.c (toc_section): Remove the declaration.
gcc/config/rs6000/rs6000-internal.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h