diff options
author | Alan Modra <amodra@gmail.com> | 2008-10-20 12:14:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-10-20 12:14:29 +0000 |
commit | c2edb4b89e374c7bca0c929dbab444928520a182 (patch) | |
tree | 68b715d8e99733a237dbb558b68c9a362dced8fe /ld/ldemul.h | |
parent | 7d9616d7565ebf44ce849f24f42fd11f7f0b10f7 (diff) | |
download | gdb-c2edb4b89e374c7bca0c929dbab444928520a182.zip gdb-c2edb4b89e374c7bca0c929dbab444928520a182.tar.gz gdb-c2edb4b89e374c7bca0c929dbab444928520a182.tar.bz2 |
* ldemul.h (ldemul_place_orphan): Update prototype.
(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
* ldemul.c (ldemul_place_orphan): Return pointer to output
section statement.
* emultempl/beos.em (gld${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
Diffstat (limited to 'ld/ldemul.h')
-rw-r--r-- | ld/ldemul.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldemul.h b/ld/ldemul.h index 6561258..8c68a88 100644 --- a/ld/ldemul.h +++ b/ld/ldemul.h @@ -58,7 +58,7 @@ extern void ldemul_set_symbols (void); extern void ldemul_create_output_section_statements (void); -extern bfd_boolean ldemul_place_orphan +extern lang_output_section_statement_type *ldemul_place_orphan (asection *, const char *, int); extern bfd_boolean ldemul_parse_args (int, char **); @@ -151,7 +151,7 @@ typedef struct ld_emulation_xfer_struct { /* Place an orphan section. Return TRUE if it was placed, FALSE if the default action should be taken. This field may be NULL, in which case the default action will always be taken. */ - bfd_boolean (*place_orphan) + lang_output_section_statement_type *(*place_orphan) (asection *, const char *, int); /* Run after assigning parsing with the args, but before |