This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Move obj_elf_change_section prototype
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Tue, 17 Sep 2002 09:38:27 +0200
- Subject: [PATCH] Move obj_elf_change_section prototype
Hi All,
This moves the prototype for obj_elf_change_section() in its
proper place. Applied according to
http://sources.redhat.com/ml/binutils/2002-08/msg00446.html :-)
Thiemo
2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/gas/ChangeLog
* config/obj-elf.c (obj_elf_change_section): Move prototype to
obj-elf.h
* config/obj-elf.h (obj_elf_change_section): Likewise.
diff -BurpNX /bigdisk/src/gcc-exclude source-orig/gas/config/obj-elf.c source/gas/config/obj-elf.c
--- source-orig/gas/config/obj-elf.c Sun Sep 15 03:30:49 2002
+++ source/gas/config/obj-elf.c Sun Sep 15 03:30:57 2002
@@ -77,8 +77,6 @@ static void obj_elf_ident PARAMS ((int))
static void obj_elf_weak PARAMS ((int));
static void obj_elf_local PARAMS ((int));
static void obj_elf_visibility PARAMS ((int));
-void obj_elf_change_section
- PARAMS ((const char *, int, int, int, const char *, int, int));
static int obj_elf_parse_section_letters PARAMS ((char *, size_t));
static int obj_elf_section_word PARAMS ((char *, size_t));
static char *obj_elf_section_name PARAMS ((void));
diff -BurpNX /bigdisk/src/gcc-exclude source-orig/gas/config/obj-elf.h source/gas/config/obj-elf.h
--- source-orig/gas/config/obj-elf.h Sun Sep 15 03:30:49 2002
+++ source/gas/config/obj-elf.h Sun Sep 15 03:30:57 2002
@@ -162,6 +162,8 @@ extern void obj_elf_version PARAMS ((int
extern void obj_elf_common PARAMS ((int));
extern void obj_elf_data PARAMS ((int));
extern void obj_elf_text PARAMS ((int));
+extern void obj_elf_change_section
+ PARAMS ((const char *, int, int, int, const char *, int, int));
extern struct fix *obj_elf_vtable_inherit PARAMS ((int));
extern struct fix *obj_elf_vtable_entry PARAMS ((int));