[PATCH 1/6] gprof: remove ASCII formfeed/0x0C bytes from source code

Richard Allen rsaxvc@gmail.com
Sun Feb 16 22:50:00 GMT 2025


Signed-off-by: Richard Allen <rsaxvc@gmail.com>
---
 gprof/basic_blocks.c | 1 -
 gprof/basic_blocks.h | 1 -
 gprof/bb_exit_func.c | 1 -
 gprof/call_graph.c   | 1 -
 gprof/call_graph.h   | 1 -
 gprof/cg_arcs.h      | 1 -
 gprof/cg_dfn.h       | 1 -
 gprof/cg_print.c     | 1 -
 gprof/cg_print.h     | 1 -
 gprof/corefile.c     | 1 -
 gprof/corefile.h     | 1 -
 gprof/gmon_io.c      | 1 -
 gprof/gmon_io.h      | 1 -
 gprof/gmon_out.h     | 2 +-
 gprof/hertz.h        | 1 -
 gprof/hist.c         | 1 -
 gprof/hist.h         | 1 -
 gprof/search_list.c  | 1 -
 gprof/search_list.h  | 1 -
 gprof/source.c       | 1 -
 gprof/source.h       | 1 -
 gprof/sym_ids.c      | 1 -
 gprof/sym_ids.h      | 1 -
 gprof/symtab.c       | 1 -
 gprof/symtab.h       | 1 -
 gprof/utils.h        | 1 -
 26 files changed, 1 insertion(+), 26 deletions(-)

diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c
index bca6862fc7b..ee7a4b7cda5 100644
--- a/gprof/basic_blocks.c
+++ b/gprof/basic_blocks.c
@@ -20,7 +20,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "filenames.h"
diff --git a/gprof/basic_blocks.h b/gprof/basic_blocks.h
index 9baa89bdec1..ea8cc4c92cf 100644
--- a/gprof/basic_blocks.h
+++ b/gprof/basic_blocks.h
@@ -17,7 +17,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef basic_blocks_h
 #define basic_blocks_h
 
diff --git a/gprof/bb_exit_func.c b/gprof/bb_exit_func.c
index a13cbf22380..561f3fe7333 100644
--- a/gprof/bb_exit_func.c
+++ b/gprof/bb_exit_func.c
@@ -23,7 +23,6 @@
    This code was contributed by:
 
      David Mosberger-Tang <David.Mosberger@acm.org>  */
-
 #include <stdio.h>
 #include <strings.h>
 #include "bfd.h"
diff --git a/gprof/call_graph.c b/gprof/call_graph.c
index 647163f646c..c9f1e303674 100644
--- a/gprof/call_graph.c
+++ b/gprof/call_graph.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "search_list.h"
 #include "source.h"
diff --git a/gprof/call_graph.h b/gprof/call_graph.h
index c36bd643823..3282e23dd78 100644
--- a/gprof/call_graph.h
+++ b/gprof/call_graph.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef call_graph_h
 #define call_graph_h
 
diff --git a/gprof/cg_arcs.h b/gprof/cg_arcs.h
index 4635541d3e4..0da72eabe66 100644
--- a/gprof/cg_arcs.h
+++ b/gprof/cg_arcs.h
@@ -16,7 +16,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef cg_arcs_h
 #define cg_arcs_h
 
diff --git a/gprof/cg_dfn.h b/gprof/cg_dfn.h
index 979fa8e0df3..d4a4e3b754e 100644
--- a/gprof/cg_dfn.h
+++ b/gprof/cg_dfn.h
@@ -16,7 +16,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef cg_dfn_h
 #define cg_dfn_h
 
diff --git a/gprof/cg_print.c b/gprof/cg_print.c
index f6bfffc2e18..8a020f55219 100644
--- a/gprof/cg_print.c
+++ b/gprof/cg_print.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "filenames.h"
diff --git a/gprof/cg_print.h b/gprof/cg_print.h
index 57c529cfb3a..3d4030ed12a 100644
--- a/gprof/cg_print.h
+++ b/gprof/cg_print.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef cg_print_h
 #define cg_print_h
 
diff --git a/gprof/corefile.c b/gprof/corefile.c
index 5f749b420fc..229b0d58f0d 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "filenames.h"
diff --git a/gprof/corefile.h b/gprof/corefile.h
index 54c36914205..e281070fbd2 100644
--- a/gprof/corefile.h
+++ b/gprof/corefile.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef corefile_h
 #define corefile_h
 
diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c
index 12e8dedb970..e4785e45434 100644
--- a/gprof/gmon_io.c
+++ b/gprof/gmon_io.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "binary-io.h"
 #include "search_list.h"
diff --git a/gprof/gmon_io.h b/gprof/gmon_io.h
index 31a3b3fce4c..5ad0a8bcf96 100644
--- a/gprof/gmon_io.h
+++ b/gprof/gmon_io.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef gmon_io_h
 #define gmon_io_h
 
diff --git a/gprof/gmon_out.h b/gprof/gmon_out.h
index a84be499837..95cedf899da 100644
--- a/gprof/gmon_out.h
+++ b/gprof/gmon_out.h
@@ -18,7 +18,7 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
+
 /* A gmon.out file consists of a header (defined by gmon_hdr) followed
    by a sequence of records.  Each record starts with a one-byte tag
    identifying the type of records, followed by records specific data.  */
diff --git a/gprof/hertz.h b/gprof/hertz.h
index 995488c1b2f..21b42b6c039 100644
--- a/gprof/hertz.h
+++ b/gprof/hertz.h
@@ -16,7 +16,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef hertz_h
 #define hertz_h
 
diff --git a/gprof/hist.c b/gprof/hist.c
index c82b5cd4db7..9cc9d63a038 100644
--- a/gprof/hist.c
+++ b/gprof/hist.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "search_list.h"
diff --git a/gprof/hist.h b/gprof/hist.h
index e5856627d9d..862dae09ae0 100644
--- a/gprof/hist.h
+++ b/gprof/hist.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef hist_h
 #define hist_h
 
diff --git a/gprof/search_list.c b/gprof/search_list.c
index fd66a009b25..535fe4e2809 100644
--- a/gprof/search_list.c
+++ b/gprof/search_list.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "search_list.h"
diff --git a/gprof/search_list.h b/gprof/search_list.h
index 062fe384799..485e687d643 100644
--- a/gprof/search_list.h
+++ b/gprof/search_list.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef search_list_h
 #define search_list_h
 
diff --git a/gprof/source.c b/gprof/source.c
index a240b035915..c73a7a77eb1 100644
--- a/gprof/source.c
+++ b/gprof/source.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "filenames.h"
diff --git a/gprof/source.h b/gprof/source.h
index f729aa78d87..f78181c5483 100644
--- a/gprof/source.h
+++ b/gprof/source.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef source_h
 #define source_h
 
diff --git a/gprof/sym_ids.c b/gprof/sym_ids.c
index 01491a1de2c..4e72db43305 100644
--- a/gprof/sym_ids.c
+++ b/gprof/sym_ids.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "libiberty.h"
 #include "safe-ctype.h"
diff --git a/gprof/sym_ids.h b/gprof/sym_ids.h
index fd13415c504..c353c60dffc 100644
--- a/gprof/sym_ids.h
+++ b/gprof/sym_ids.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef sym_ids_h
 #define sym_ids_h
 
diff --git a/gprof/symtab.c b/gprof/symtab.c
index 95f02b1fb0b..9a66e139a2e 100644
--- a/gprof/symtab.c
+++ b/gprof/symtab.c
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
-
 #include "gprof.h"
 #include "search_list.h"
 #include "source.h"
diff --git a/gprof/symtab.h b/gprof/symtab.h
index b8fe55a4dcd..fe16ac8247e 100644
--- a/gprof/symtab.h
+++ b/gprof/symtab.h
@@ -18,7 +18,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef symtab_h
 #define symtab_h
 
diff --git a/gprof/utils.h b/gprof/utils.h
index c7212df6978..73c6c77c7d3 100644
--- a/gprof/utils.h
+++ b/gprof/utils.h
@@ -16,7 +16,6 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
-
 #ifndef utils_h
 #define utils_h
 
-- 
2.39.5



More information about the Binutils mailing list