mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
we allocate common symbols.
This commit is contained in:
parent
cd1d4f83e7
commit
809391bd0a
@ -1,3 +1,8 @@
|
||||
Wed Nov 9 12:47:11 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
||||
|
||||
* ldlang.c (lang_one_common): Set SEC_ALLOC in any section where
|
||||
we allocate common symbols.
|
||||
|
||||
Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com)
|
||||
|
||||
* scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and
|
||||
|
@ -2260,6 +2260,9 @@ lang_one_common (h, info)
|
||||
/* Increase the size of the section. */
|
||||
section->_raw_size += size;
|
||||
|
||||
/* Make sure the section is allocated in memory. */
|
||||
section->flags |= SEC_ALLOC;
|
||||
|
||||
if (config.map_file != NULL)
|
||||
fprintf (config.map_file, "Allocating common %s: %lx at %lx %s\n",
|
||||
h->root.string, (unsigned long) size,
|
||||
|
Loading…
Reference in New Issue
Block a user