• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisionc348479ddd10079b8b8714598d8e1458d25e095d (tree)
Time2019-09-23 09:57:21
AuthorAlan Modra <amodra@gmai...>
CommiterAlan Modra

Log Message

tic54x bfd.h tidy

* bfd-in.h: Delete ticoff function declarations.
* coff-tic54x.c (bfd_ticoff_set_section_load_page),
(bfd_ticoff_get_section_load_page): Make static.
* bfd-in2.h: Regenerate.

Change Summary

Incremental Difference

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,12 @@
11 2019-09-23 Alan Modra <amodra@gmail.com>
22
3+ * bfd-in.h: Delete ticoff function declarations.
4+ * coff-tic54x.c (bfd_ticoff_set_section_load_page),
5+ (bfd_ticoff_get_section_load_page): Make static.
6+ * bfd-in2.h: Regenerate.
7+
8+2019-09-23 Alan Modra <amodra@gmail.com>
9+
310 * bfd-in.h: Move h8300 function declaration to..
411 * cpu-h8300.h: ..here, new file.
512 * cpu-h8300.c: Include cpu-h8300.h.
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -993,11 +993,3 @@ extern bfd_boolean elf32_aarch64_size_stubs
993993 void (*) (void));
994994 extern bfd_boolean elf32_aarch64_build_stubs
995995 (struct bfd_link_info *);
996-
997-
998-/* TI COFF load page support. */
999-extern void bfd_ticoff_set_section_load_page
1000- (struct bfd_section *, int);
1001-
1002-extern int bfd_ticoff_get_section_load_page
1003- (struct bfd_section *);
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -1000,14 +1000,6 @@ extern bfd_boolean elf32_aarch64_size_stubs
10001000 void (*) (void));
10011001 extern bfd_boolean elf32_aarch64_build_stubs
10021002 (struct bfd_link_info *);
1003-
1004-
1005-/* TI COFF load page support. */
1006-extern void bfd_ticoff_set_section_load_page
1007- (struct bfd_section *, int);
1008-
1009-extern int bfd_ticoff_get_section_load_page
1010- (struct bfd_section *);
10111003 /* Extracted from init.c. */
10121004 unsigned int bfd_init (void);
10131005
--- a/bfd/coff-tic54x.c
+++ b/bfd/coff-tic54x.c
@@ -82,14 +82,14 @@ tic54x_getl_signed_32 (const void *p)
8282 #define coff_get_section_load_page bfd_ticoff_get_section_load_page
8383 #define coff_set_section_load_page bfd_ticoff_set_section_load_page
8484
85-void
85+static void
8686 bfd_ticoff_set_section_load_page (asection *sect,
8787 int page)
8888 {
8989 sect->lma = (sect->lma & ADDR_MASK) | PG_TO_FLAG(page);
9090 }
9191
92-int
92+static int
9393 bfd_ticoff_get_section_load_page (asection *sect)
9494 {
9595 int page;