summaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2008-10-20 12:14:29 +0000
committerAlan Modra <amodra@bigpond.net.au>2008-10-20 12:14:29 +0000
commit66d4efbe620a9ba58538427174741860bce912cf (patch)
tree05af0c355cf3ebb9288bde13bf20f3d2b5cb3df6 /ld/ldemul.c
parent68999dc9e8a14b15d9cebfb6e804b24790345347 (diff)
downloadbinutils-redhat-66d4efbe620a9ba58538427174741860bce912cf.tar.gz
* 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.c')
-rw-r--r--ld/ldemul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index 567e8ac2cd..826129d0a1 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -119,12 +119,12 @@ ldemul_open_dynamic_archive (const char *arch, search_dirs_type *search,
return FALSE;
}
-bfd_boolean
+lang_output_section_statement_type *
ldemul_place_orphan (asection *s, const char *name, int constraint)
{
if (ld_emulation->place_orphan)
return (*ld_emulation->place_orphan) (s, name, constraint);
- return FALSE;
+ return NULL;
}
void