Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Instrukcja Użytkownika Strona 22

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 21
16 Chapter 4. objcopy
the symbol name. If the first character of the symbol name is the exclamation point (!) then the
sense of the switch is reversed for that symbol. For example:
-w -W !foo -W fo*
would cause objcopy to weaken all symbols that start with "fo" except for the symbol "foo".
-x
-discard-all
Do not copy non-global symbols from the source file.
-X
-discard-locals
Do not copy compiler-generated local symbols. (These usually start with L or ..)
-b byte
-byte=byte
Keep only every byteth byte of the input file (header data is not affected). byte can be in the
range from 0 to interleave-1, where interleave is given by the -i or -interleave option,
or the default of 4. This option is useful for creating files to program rom. It is typically used with
an srec output target.
-i interleave
-interleave=interleave
Only copy one out of every interleave bytes. Select which byte to copy with the -b or -byte
option. The default is 4. objcopy ignores this option if you do not specify either -b or -byte.
-p
-preserve-dates
Set the access and modification dates of the output file to be the same as those of the input file.
-debugging
Convert debugging information, if possible. This is not the default because only certain debug-
ging formats are supported, and the conversion process can be time consuming.
-gap-fill val
Fill gaps between sections with val. This operation applies to the load address (LMA) of the
sections. It is done by increasing the size of the section with the lower address, and filling in the
extra space created with val.
-pad-to address
Pad the output file up to the load address address. This is done by increasing the size of the last
section. The extra space is filled in with the value specified by -gap-fill (default zero).
-set-start val
Set the start address of the new file to val. Not all object file formats support setting the start
address.
-change-start incr
-adjust-start incr
Change the start address by adding incr. Not all object file formats support setting the start
address.
Przeglądanie stron 21
1 2 ... 17 18 19 20 21 22 23 24 25 26 27 ... 79 80

Komentarze do niniejszej Instrukcji

Brak uwag