1 ToDo list for elfutils -*-outline-*-
4 Time-stamp: <2009-01-23 12:04:54 drepper>
8 Remove everywhere. Use mkdir -p.
12 We need to tell xgettext about a few special functions. At least needed:
14 --flag=error:3:c-format --flag=argp_error:2:c-format
16 How do we pass these options without modifying po/Makefile.in.in? The
17 xgettext invocation uses XGETTEXT_OPTIONS which isn't defined. So the
18 toplevel makefile could potentially define this variable.
24 Currently the elf_update function trusts the user blindly if the
25 ELF_F_LAYOUT flag is set. This is OK if the data is prepared by a
26 ELF_C_NULL call but not if the user prepared the data herself
28 ** break out archive handling from elf_begin
30 The handling of archives (especially of the symbol tables) must be
31 broken out of elf_begin. There are several different forms of
32 archives and only when having the archive handling separately this
38 ** More memory access checks needed
40 All accesses to the debug sections should make sure the offsets are
41 valid. This is currently especially a problem with leb128 accesses.
43 ** Low level macro information operations
45 in 5.11.3 are not implemented. gcc currently does not emit this
46 information so I cannot test it.
48 ** Rename dwarf_getabbrev
67 ** add demangler support
69 Use demangler from libiberty.
71 ** add support to read debugging symbols
73 Implement -l option for BSD and POSIX format
78 ** support SHT_SYMTAB_SHNDX
80 should be removed if not needed anymore
84 ** sanity check .rel sh_info content
86 the sh_info of all .rel sections with the same name must point to
87 sections which also have the same name
91 to locate shared libraries also use /etc/ld.so.conf
93 ** handle object files for different architectures
95 ld.so is expected to ignore object files for different architectures and
96 continue looking for a matching file (e.g., ignore 32-bit binaries on
97 64-bit platforms and vice versa). We probably need the same in ld.
99 ** reuse after elf_end
101 Some files are closed using elf_end. They are removed from memory only
102 if no reference is left (especially for archives this is a problem).
103 The old mapping should be reused in that case. The problem is worse
104 for files which are not mapped read-only (archives again).
106 ** size for STT_SECTION entries
108 The STT_SECTION entries have zero for the size but can easily get
109 the size of the section.
113 Not implemented at all in the moment except for recognition of the option
120 1st GOT entry == _DYNAMIC
122 check versioning info:
124 always BASE in verdef
125 sh_size/sh_entsize matches last offset != 0
127 check whether any relocation is for a merge-able section
129 check TLS relocation depencies
131 Check content of .eh_frame_hdr, .eh_frame, .gcc_except_table
135 check that R_386_TLS_GD is followed by R_386_PLT32 for __tls_get_addr
139 prelink generated files
143 ** treat relocation sections special
145 Differences in the relocation sections can be ignored if all
146 the same symbols with the same targets are present and the order
147 of overlapping relocations doesn't change. There really never
148 should be overlapping relocations but who knows.
152 Sun has it. Can modify sections which are not in segments.
155 Append string to the comment section of the ELF object
156 files. If string contains embedded blanks, it must be
157 enclosed in quotation marks.
159 -c Compress the contents of the comment section of the
160 ELF object files. All duplicate entries are removed.
161 The ordering of the remaining entries is not dis-
164 -d Delete the contents of the comment section from the
165 ELF object files. The section header for the comment
166 section is also removed.
169 Specify the name of the comment section to access if
170 other than .comment. By default, mcs deals with the
171 section named .comment. This option can be used to
172 specify another section. mcs can take multiple -n
173 options to allow for specification of multiple sec-
176 -p Print the contents of the comment section on the stan-
177 dard output. Each section printed is tagged by the
178 name of the file from which it was extracted, using
179 the format file[member_name]: for archive files and
180 file: for other files.
182 -V Print on standard error the version number of mcs.
185 eval:(hide-sublevels 3)