From a4d5aec71e097837ee314eca612f71a3d85b6b3f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 9 Mar 2023 11:53:52 +1030 Subject: Revert ld ASCII support Revert "Prevent the ASCII linker script directive from generating huge amounts of padding if the size expression is not a constant." This reverts commit adbe951fc95943016325af08d677f18e8c177ac1. Revert "ld test asciz and ascii fails" This reverts the ascii.d part of commit 5f497256bee624f0fa470949aa41534093bc5b25. Revert "Add support for the ASCII directive inside linker scripts." This mostly reverts commit 9fe129a4105bb59398f73ce96938a94f19265b79 leaving the asciz.d and asciz.t changes in place. --- ld/ldlang.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ld/ldlang.h') diff --git a/ld/ldlang.h b/ld/ldlang.h index 2300fa5..3281906 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -646,9 +646,8 @@ extern void pop_stat_ptr (void); extern void lang_add_data (int, union etree_union *); -extern bfd_vma charcount(const char *s); extern void lang_add_string - (size_t, const char *s); + (const char *); extern void lang_add_reloc (bfd_reloc_code_real_type, reloc_howto_type *, asection *, const char *, union etree_union *); -- cgit v1.1