From 0345ae5042baa20e940a70b7e67b0ff2a2169b11 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 6 Jun 2008 06:01:53 +0000 Subject: [PATCH] include/ * bfdlink.h (struct bfd_link_info): Add "path_separator". bfd/ * elf32-spu.c (spu_elf_auto_overlay): Relax requirement that file names be unique. Specify archive:path in overlay script. ld/ * ldlang.c (name_match): New function. (unique_section_p, walk_wild_consider_section): Use it here. (walk_wild_section_general): And here. (archive_path): New function. (walk_wild): Match archive:path filespecs. (open_input_bfds): Don't load archive:path files. * emultempl/spuelf.em (choose_target): Set path_separator. * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output. --- include/ChangeLog | 4 ++++ include/bfdlink.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 9b0140cff..4e399f39e 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2008-06-06 Alan Modra + + * bfdlink.h (struct bfd_link_info): Add "path_separator". + 2008-04-10 Andreas Krebbel * dis-asm.h (print_s390_disassembler_options): diff --git a/include/bfdlink.h b/include/bfdlink.h index bcd4b4fc3..e68331028 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -372,6 +372,9 @@ struct bfd_link_info wrap_hash. Used by PowerPC Linux for 'dot' symbols. */ char wrap_char; + /* Separator between archive and filename in linker script filespecs. */ + char path_separator; + /* Function callbacks. */ const struct bfd_link_callbacks *callbacks;