1 ToDo list for elfutils -*-outline-*-
4 Time-stamp: <2005-08-03 20:38:01 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 ** Should we do more error checking?
30 Most functions don't check whether they get a NULL value passed for
31 a pointer argument. It could be argued that this is OK since it's
32 a bug inthe program. But perhaps one could catch the case and return
33 an error which would allow the program using libdwarf to have fewer
34 places with error checking.
36 ** More memory access checks needed
38 All accesses to the debug sections should make sure the offsets are
39 valid. This is currently especially a problem with leb128 accesses.
41 ** Low level macro information operations
43 in 5.11.3 are not implemented. gcc currently does not emit this
44 information so I cannot test it.
46 ** Rename dwarf_getabbrev
50 This function and its interface seem to be misdesigned. The specification
51 is unclear and its changed between v2 and v2.1. Other implementation
52 implement even different behavior.
57 ** add demangler support
59 Use demangler from libiberty.
61 ** add support to read debugging symbols
63 Implement -l option for BSD and POSIX format
68 ** support SHT_SYMTAB_SHNDX
70 should be removed if not needed anymore
74 ** sanity check .rel sh_info content
76 the sh_info of all .rel sections with the same name must point to
77 sections which also have the same name
81 to locate shared libraries also use /etc/ld.so.conf
83 ** handle object files for different architectures
85 ld.so is expected to ignore object files for different architectures and
86 continue looking for a matching file (e.g., ignore 32-bit binaries on
87 64-bit platforms and vice versa). We probably need the same in ld.
89 ** reuse after elf_end
91 Some files are closed using elf_end. They are removed from memory only
92 if no reference is left (especially for archives this is a problem).
93 The old mapping should be reused in that case. The problem is worse
94 for files which are not mapped read-only (archives again).
97 ** size for STT_SECTION entries
99 The STT_SECTION entries have zero for the size but can easily get
100 the size of the section.
106 1st GOT entry == _DYNAMIC
108 check versioning info:
110 always BASE in verdef
111 sh_size/sh_entsize matches last offset != 0
113 check whether any relocation is for a merge-able section
117 prelink generated files
122 Sun has it. Can modify sections which are not in segments.
125 Append string to the comment section of the ELF object
126 files. If string contains embedded blanks, it must be
127 enclosed in quotation marks.
129 -c Compress the contents of the comment section of the
130 ELF object files. All duplicate entries are removed.
131 The ordering of the remaining entries is not dis-
134 -d Delete the contents of the comment section from the
135 ELF object files. The section header for the comment
136 section is also removed.
139 Specify the name of the comment section to access if
140 other than .comment. By default, mcs deals with the
141 section named .comment. This option can be used to
142 specify another section. mcs can take multiple -n
143 options to allow for specification of multiple sec-
146 -p Print the contents of the comment section on the stan-
147 dard output. Each section printed is tagged by the
148 name of the file from which it was extracted, using
149 the format file[member_name]: for archive files and
150 file: for other files.
152 -V Print on standard error the version number of mcs.