From a8927cfd1ab2dac807c4d22428f3dbfd3c9d8713 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Wed, 23 Oct 2002 20:13:01 +0000 Subject: * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* sections into .rel{,a}.dyn. --- ld/emultempl/elf32.em | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/emultempl') diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 62c39f4..4fee5fb 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1098,6 +1098,7 @@ gld${EMULATION_NAME}_place_orphan (file, s) secname = bfd_get_section_name (s->owner, s); if (! link_info.relocateable && link_info.combreloc + && (s->flags & SEC_ALLOC) && strncmp (secname, ".rel", 4) == 0) { if (secname[4] == 'a') -- cgit v1.1