diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-09 11:53:52 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-10 21:22:16 +1030 |
commit | a4d5aec71e097837ee314eca612f71a3d85b6b3f (patch) | |
tree | d8a312e80b6695a55f015b38c6f842b3c4d6fa6a /ld/ldlang.h | |
parent | 75bd292bea53d6ce8de66f30d67c2edb4a558110 (diff) | |
download | binutils-gdb-a4d5aec71e097837ee314eca612f71a3d85b6b3f.tar.gz |
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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 2300fa5b2a3..32819066b8a 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 *); |