Binutils with MCST patches
Go to file
Ken Raeburn d24928c05b * elfcode.h (elf_build_phdrs): Unused function deleted.
(bfd_shdr_from_section): Ditto.
(write_relocs): Don't change section contents for addend.
(elf_locate_sh): Return type is now always elf_internal_shdr, since the other
types were really aliases for this type anyways.  Don't compile this function,
since it is static and doesn't appear to be used in this file.
(sym_is_global): Return non-zero for weak symbols.  Abort if sec ptr is null.
(swap_out_syms): Reorder tests so function symbols can be weak.
(elf_slurp_symbol_table): Don't use BSF_EXPORT.
(elf_slurp_reloca_table): Make RELOC_PROCESSING section smaller by
extracting out some common code.  Abort if BFD section symbol has null name.
(elf_slurp_reloc_table): Translate ELF section symbols into BFD section
symbols.  Don't read section contents to fill in addend field.

* Merged from OSF:

Tue Jun 15 14:38:32 1993  Michael Meissner  (meissner@osf.org)

* libelf.h (struct Elf_Sym_Extra): New structure to contain ELF
specific information for a symbol.  Put in elf_sym_num, which
gives the external symbol number in the elf object file, since
local symbols must come before global symbols.
(elf_sym_extra): New macro.
(elf_symtab_map): Delete, in favor of using Elf_Sym_Extra.
* elfcode.h (elf_map_symbols): Use Elf_Sym_Extra to map internal
symbol number to external number.  Store the address of the
Elf_Sym_Extra field for the symbol in the udata field.
(elf_write_object_contents): Use Elf_Sym_Extra to map out symbols.

Sun Jun 20 16:30:11 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add field to count the size of the
array of pointers to section symbols.
(elf_map_symbols): Bump the max index of the section symbols so
that we don't overwrite memory.  Store the max index into the
elf_obj_tdata field.

Sat Jun 19 10:12:27 1993  Michael Meissner  (meissner@osf.org)

* elfcode.h (elf_obj_tdata): Add pointer to an array of pointers
to the section symbols we created.  Remove unused field internal_syms.
(elf_map_symbols): Fill in array of pointers to section symbols.  Only create
section symbols for sections that have SEC_ALLOC set, and have non-zero size.
(elf_symbol_from_bfd_symbol): If udata is NULL, and this is a section symbol,
look up the section in the list of section symbols, and set the udata pointer
appropriately.  Otherwise, if udata is still NULL, fail an assertion, and use
0, instead of dropping core.
1993-08-20 22:21:49 +00:00
bfd * elfcode.h (elf_build_phdrs): Unused function deleted. 1993-08-20 22:21:49 +00:00
binutils remove mention of nm 1993-08-13 00:11:22 +00:00
config don't use -g in CXXFLAGS 1993-08-12 18:43:31 +00:00
gas * config/tc-mips.c (mips_isa): New static variable. 1993-08-20 15:45:50 +00:00
gdb * mipsread.c (parse_partial_symbols, psymtab_to_symtab_1): 1993-08-20 22:10:15 +00:00
gprof Use BFD to determine what a symbol prefix is, be better about determining 1993-08-13 21:38:41 +00:00
include * mips.h (INSN_*): Changed values. Removed unused definitions. 1993-08-20 15:40:00 +00:00
ld keep i386-linux.h 1993-08-18 22:54:11 +00:00
mmalloc Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
opcodes * mips-opc.c: Added r6000 and r4000 instructions and macros. 1993-08-20 15:40:51 +00:00
readline Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
sim Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly 1993-08-02 23:29:32 +00:00
.Sanitize New directory 1993-08-18 01:24:15 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
ChangeLog * Makefile.in: Add support for new libio. 1993-08-18 02:04:05 +00:00
DOC.Sanitize Initial revision 1991-10-31 00:08:52 +00:00
INSTALL
Install.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Makefile.in * Makefile.in: Add support for new libio. 1993-08-18 02:04:05 +00:00
Pack-A-Progressive Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
SUPPORTED Initial revision 1991-06-12 21:44:36 +00:00
build-all.mk remove univel from unixware build config name 1993-08-20 21:14:17 +00:00
config.guess * config.guess: Recognize BSD on hp300. 1993-08-16 01:50:58 +00:00
config.sub handle broken test (lynx) 1993-07-16 20:14:38 +00:00
configdos.bat Initial revision 1991-12-12 02:47:57 +00:00
configure add support for CONFIG_SHELL 1993-08-02 18:58:17 +00:00
configure.bat More dos scripts 1992-02-22 00:25:24 +00:00
configure.in fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio 1993-08-20 00:37:33 +00:00
install-texi.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
install.sh fix install.sh on DECstation; handle lack of c++ on h8[35]00 for libio 1993-08-20 00:37:33 +00:00
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
tape-labels-tex.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
test-build.mk add uniq to holes, ccross changes 1993-07-08 00:57:49 +00:00