aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf@emagii.com>2023-02-14 10:13:28 +0000
committerNick Clifton <nickc@redhat.com>2023-02-14 10:13:28 +0000
commit0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2 (patch)
tree6d366ae54f94ded995f08e3f2ea8ac47aa542de5 /ld/ldlang.h
parent12ef68305572ed139825be827b2bb1d1aef3ca25 (diff)
downloadgdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.zip
gdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.tar.gz
gdb-0d79a2a8e2d91fc258ac795c19c13e3ab505a6c2.tar.bz2
ASCIZ Command for output section
Adds a new directive to the linker script syntax: ASCIZ. This inserts a zero-terminated string into the output at the place where it is used.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 24c42f4..3281906 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -645,7 +645,9 @@ extern void push_stat_ptr
extern void pop_stat_ptr
(void);
extern void lang_add_data
- (int type, union etree_union *);
+ (int, union etree_union *);
+extern void lang_add_string
+ (const char *);
extern void lang_add_reloc
(bfd_reloc_code_real_type, reloc_howto_type *, asection *, const char *,
union etree_union *);