From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: law@redhat.com Cc: Joern Rennecke , binutils@sources.redhat.com Subject: Re: h8300-elf port: gas patches Date: Tue, 28 Aug 2001 16:57:00 -0000 Message-id: References: <14725.999042015@localhost.localdomain> X-SW-Source: 2001-08/msg00665.html law@redhat.com writes: > > (tc_crawl_symbol_chain, tc_headers_hook): Don't define for OBJ_ELF. > > (tc_reloc_mangle): Likewise. > And why would we define these to do anything different for ELF? These seem > like gratutious changes which serve no meaningful purpose. Please explain. Those functions are not used with BFD_ASSEMBLER. The h8/300 is an old SAC port which did not use BFD_ASSEMBLER. Using ELF requires using BFD_ASSEMBLER. A slightly cleaner way to make the above change would be to not define them for BFD_ASSEMBLER. An even better way would be to first rewrite the COFF port to use BFD_ASSEMBLER, and then write the ELF port. Ian