diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-29 12:36:32 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1996-09-29 12:36:32 +0000 |
commit | e0f6c27e5660a29c7b49525558c4e021266a69fe (patch) | |
tree | b602b030be9b699948c4f999e60b706bc266852b | |
parent | 7830bbc64f50cdbb4a8d221441fa5f7f3ff2cee5 (diff) |
Missing #if case
-rw-r--r-- | gnu/usr.bin/binutils/ld/emultempl/elfarc.em | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/ld/emultempl/elfarc.em b/gnu/usr.bin/binutils/ld/emultempl/elfarc.em index 988bae7c339..0b052eb033c 100644 --- a/gnu/usr.bin/binutils/ld/emultempl/elfarc.em +++ b/gnu/usr.bin/binutils/ld/emultempl/elfarc.em @@ -96,10 +96,10 @@ findshlib(arch, search, entry) if(dd == NULL) return(NULL); - string = (char *)xmalloc((strlen (search->name) + string = (char *)xmalloc(strlen (search->name) + strlen (entry->filename) + strlen (arch) - + sizeof "/lib.so.") + + sizeof "/lib.so." + 16); /* XXX 16 would be sufficient for a version no */ sprintf(string, "lib%s%s.so.", entry->filename, arch); len = strlen(string); @@ -676,7 +676,7 @@ gld${EMULATION_NAME}_before_allocation () } } -#if defined (TARGET_IS_elf32bmip) || defined (TARGET_IS_elf32lmip) +#if defined (TARGET_IS_elf32bmip) || defined (TARGET_IS_elf32lmip) || defined (TARGET_IS_elf32arc) /* For MIPS ELF the .reginfo section requires special handling. Each input section is 24 bytes, and the final output section must also be 24 bytes. We handle this by clobbering all but the first |