diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-08-18 20:10:54 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-08-18 20:10:54 +0000 |
commit | b400f56dbb0739dedd9a69763d83a57f82674821 (patch) | |
tree | 7451b9165e498ae2624869069d62245217b785ad /gdb/remote-udi.c | |
parent | fe4f3d0bec9d2381b9c6111301f43ca676e717bc (diff) | |
download | gdb-b400f56dbb0739dedd9a69763d83a57f82674821.zip gdb-b400f56dbb0739dedd9a69763d83a57f82674821.tar.gz gdb-b400f56dbb0739dedd9a69763d83a57f82674821.tar.bz2 |
Make the ELF linker handle orphaned sections reasonably. Also,
define __start_SECNAME and __stop_SECNAME around sections whose
names can be represented in C, for the benefit of symbol sets in
glibc.
* ldemul.h (ldemul_place_orphan): Declare.
(ld_emulation_xfer_type): Add place_orphan field.
* ldemul.c (ldemul_place_orphan): New function.
* ldlang.h (wild_doit): Declare.
* ldlang.c (wild_doit): Make nonstatic.
(lang_place_orphans): Call ldemul_place_orphan.
* emultempl/elf32.em: Include <ctype.h> and "ldgram.h".
(hold_section, hold_use, hold_text, hold_data, hold_bss): New
static variables.
(gld${EMULATION_NAME}_place_orphan): New static function.
(gld${EMULATION_NAME}_place_section): New static function.
(ld_${EMULATION_NAME}_emulation): Initialize place_orphan field.
Diffstat (limited to 'gdb/remote-udi.c')
0 files changed, 0 insertions, 0 deletions