From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jaeger To: Jakub Jelinek Cc: binutils@sources.redhat.com Subject: Re: [PATCH] Alpha support for -z combreloc Date: Fri, 24 Aug 2001 06:12:00 -0000 Message-id: References: <20010823190425.H5765@sunsite.ms.mff.cuni.cz> X-SW-Source: 2001-08/msg00555.html Jakub Jelinek writes: > Hi! > > Here is alpha support for -z combreloc, creates no regressions in make check > when -z combreloc is the default. Ok to commit? > > Note that -z combreloc is not the default in the patch I've checked in, and > cannot be until all elf backends which use elf32.em are updated at least to > compute DT_TEXTREL differently. Adding *_reloc_type_class is not strictly > necessary, ld will just not set DT_REL{,A}COUNT if it is not defined and > might sort relocs against the same symbol less efficiently (but that's just > optimization). Checking ld/Makefile.am, the following 61 elf backends (which share bfd elf backends) use elf32.em: To Do: earmelf.c earmelf_linux.c ecriself.c ecrislinux.c ed10velf.c eelf32fr30.c eelf32mcore.c em32relf.c eelf32_i860.c eelf32_i960.c eelf32b4300.c eelf32bmip.c eelf32bsmip.c eelf32btsmip.c eelf32ltsmip.c eelf32ebmip.c eelf32elmip.c eelf32bmipn32.c eelf32l4300.c eelf32lmip.c eelf32lppc.c eelf32lppcsim.c eelf32lsmip.c eelf32openrisc.c eelf32ppc.c eelf32ppcsim.c eelf32ppclinux.c eelf32i370.c eelf64hppa.c eelf64_aix.c eelf64_s390.c eelf64bmip.c eelf64btsmip.c eelf64ltsmip.c eelf_s390.c ehppaelf.c ehppalinux.c ehppa64linux.c em68kelf.c em68kpsos.c emn10300.c emn10200.c epjelf.c epjlelf.c eppcnw.c eshelf.c eshelf_linux.c eshlelf_linux.c eshlelf.c ev850.c Done already (AFAIK): eelf32_sparc.c eelf_i386.c eelf_x86_64.c eelf_i386_be.c eelf_i386_chaos.c eelf_i386_ldso.c ei386moss.c ei386nw.c eelf64alpha.c eelf64_ia64.c eelf64_sparc.c Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj