Changeset 1984
- Timestamp:
- 10/02/11 10:47:17 (20 months ago)
- Location:
- trunk/elfcopy
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/elfcopy/elfcopy.1
r1983 r1984 49 49 .Op Fl x | Fl -discard-all 50 50 .Op Fl -add-section Ar sectionname Ns = Ns Ar filename 51 .Op Fl -gap-fill Ar val 51 52 .Op Fl -only-keep-debug 53 .Op Fl -pad-to Ar address 52 54 .Op Fl -rename-section Ar oldname Ns = Ns Ar newname Ns Op Ar ,flags 53 55 .Op Fl -set-section-flags Ar sectionname Ns = Ns Ar flags … … 146 148 The size of the section will be the number of bytes in file 147 149 .Ar filename . 150 .It Fl -gap-fill Ar val 151 Fill the gaps between sections with the value specified by argument 152 .Ar val . 148 153 .It Fl -only-keep-debug 149 154 Copy only debugging information to the output file. 155 .It Fl -pad-to Ar address 156 Pad the output object LMA address to 157 .Ar address 158 by inceasing the size of the section with the highest LMA address. 150 159 .It Fl -rename-section Ar oldname Ns = Ns Ar newname Ns Op Ar ,flags 151 160 Rename the section named by argument -
trunk/elfcopy/main.c
r1983 r1984 1286 1286 --add-section NAME=FILE Add the contents of FILE to the ELF object as\n\ 1287 1287 a new section named NAME.\n\ 1288 --gap-fill=val Fill the gaps between sections.\n\ 1288 1289 --only-keep-debug Copy only debugging information.\n\ 1289 1290 --output-target=FORMAT Use the specified format for the output.\n\ 1291 --pad-to=address Pad output object LMA address.\n\ 1290 1292 --rename-section OLDNAME=NEWNAME[,FLAGS]\n\ 1291 1293 Rename and optionally change section flags.\n\