1 ToDo list for elfutils -*-outline-*-
4 Time-stamp: <2005-08-29 08:58:24 drepper>
8 Remove everywhere. Use mkdir -p.
14 Currently the elf_update function trusts the user blindly if the
15 ELF_F_LAYOUT flag is set. This is OK if the data is prepared by a
16 ELF_C_NULL call but not if the user prepared the data herself
18 ** break out archive handling from elf_begin
20 The handling of archives (especially of the symbol tables) must be
21 broken out of elf_begin. There are several different forms of
22 archives and only when having the archive handling separately this
28 ** More memory access checks needed
30 All accesses to the debug sections should make sure the offsets are
31 valid. This is currently especially a problem with leb128 accesses.
33 ** Low level macro information operations
35 in 5.11.3 are not implemented. gcc currently does not emit this
36 information so I cannot test it.
38 ** Rename dwarf_getabbrev
43 ** add demangler support
45 Use demangler from libiberty.
47 ** add support to read debugging symbols
49 Implement -l option for BSD and POSIX format
54 ** support SHT_SYMTAB_SHNDX
56 should be removed if not needed anymore
60 ** sanity check .rel sh_info content
62 the sh_info of all .rel sections with the same name must point to
63 sections which also have the same name
67 to locate shared libraries also use /etc/ld.so.conf
69 ** handle object files for different architectures
71 ld.so is expected to ignore object files for different architectures and
72 continue looking for a matching file (e.g., ignore 32-bit binaries on
73 64-bit platforms and vice versa). We probably need the same in ld.
75 ** reuse after elf_end
77 Some files are closed using elf_end. They are removed from memory only
78 if no reference is left (especially for archives this is a problem).
79 The old mapping should be reused in that case. The problem is worse
80 for files which are not mapped read-only (archives again).
83 ** size for STT_SECTION entries
85 The STT_SECTION entries have zero for the size but can easily get
86 the size of the section.
92 1st GOT entry == _DYNAMIC
94 check versioning info:
97 sh_size/sh_entsize matches last offset != 0
99 check whether any relocation is for a merge-able section
103 prelink generated files
107 ** treat relocation sections special
109 Differences in the relocation sections can be ignored if all
110 the same symbols with the same targets are present and the order
111 of overlapping relocations doesn't change. There really never
112 should be overlapping relocations but who knows.
116 Sun has it. Can modify sections which are not in segments.
119 Append string to the comment section of the ELF object
120 files. If string contains embedded blanks, it must be
121 enclosed in quotation marks.
123 -c Compress the contents of the comment section of the
124 ELF object files. All duplicate entries are removed.
125 The ordering of the remaining entries is not dis-
128 -d Delete the contents of the comment section from the
129 ELF object files. The section header for the comment
130 section is also removed.
133 Specify the name of the comment section to access if
134 other than .comment. By default, mcs deals with the
135 section named .comment. This option can be used to
136 specify another section. mcs can take multiple -n
137 options to allow for specification of multiple sec-
140 -p Print the contents of the comment section on the stan-
141 dard output. Each section printed is tagged by the
142 name of the file from which it was extracted, using
143 the format file[member_name]: for archive files and
144 file: for other files.
146 -V Print on standard error the version number of mcs.