This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
This commit is contained in:
parent
9cec3d45aa
commit
d3b7d141ac
|
@ -1,3 +1,10 @@
|
||||||
|
2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au>
|
||||||
|
|
||||||
|
* dis-asm.h (struct disassemble_info): Change `length' param of
|
||||||
|
read_memory_func to unsigned. Change type of `buffer_length' and
|
||||||
|
`octets_per_byte' to unsigned.
|
||||||
|
(buffer_read_memory): Change `length' param to unsigned.
|
||||||
|
|
||||||
2000-02-16 Nick Clifton <nickc@cygnus.com>
|
2000-02-16 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* dis-asm.h: Add prototypes for ARM register name functions.
|
* dis-asm.h: Add prototypes for ARM register name functions.
|
||||||
|
|
|
@ -78,7 +78,7 @@ typedef struct disassemble_info {
|
||||||
INFO is a pointer to this struct.
|
INFO is a pointer to this struct.
|
||||||
Returns an errno value or 0 for success. */
|
Returns an errno value or 0 for success. */
|
||||||
int (*read_memory_func)
|
int (*read_memory_func)
|
||||||
PARAMS ((bfd_vma memaddr, bfd_byte *myaddr, int length,
|
PARAMS ((bfd_vma memaddr, bfd_byte *myaddr, unsigned int length,
|
||||||
struct disassemble_info *info));
|
struct disassemble_info *info));
|
||||||
|
|
||||||
/* Function which should be called if we get an error that we can't
|
/* Function which should be called if we get an error that we can't
|
||||||
|
@ -105,7 +105,7 @@ typedef struct disassemble_info {
|
||||||
/* These are for buffer_read_memory. */
|
/* These are for buffer_read_memory. */
|
||||||
bfd_byte *buffer;
|
bfd_byte *buffer;
|
||||||
bfd_vma buffer_vma;
|
bfd_vma buffer_vma;
|
||||||
int buffer_length;
|
unsigned int buffer_length;
|
||||||
|
|
||||||
/* This variable may be set by the instruction decoder. It suggests
|
/* This variable may be set by the instruction decoder. It suggests
|
||||||
the number of bytes objdump should display on a single line. If
|
the number of bytes objdump should display on a single line. If
|
||||||
|
@ -124,7 +124,7 @@ typedef struct disassemble_info {
|
||||||
/* Number of octets per incremented target address
|
/* Number of octets per incremented target address
|
||||||
Normally one, but some DSPs have byte sizes of 16 or 32 bits
|
Normally one, but some DSPs have byte sizes of 16 or 32 bits
|
||||||
*/
|
*/
|
||||||
int octets_per_byte;
|
unsigned int octets_per_byte;
|
||||||
|
|
||||||
/* Results from instruction decoders. Not all decoders yet support
|
/* Results from instruction decoders. Not all decoders yet support
|
||||||
this information. This info is set each time an instruction is
|
this information. This info is set each time an instruction is
|
||||||
|
@ -213,7 +213,7 @@ extern void disassembler_usage PARAMS ((FILE *));
|
||||||
/* Here is a function which callers may wish to use for read_memory_func.
|
/* Here is a function which callers may wish to use for read_memory_func.
|
||||||
It gets bytes from a buffer. */
|
It gets bytes from a buffer. */
|
||||||
extern int buffer_read_memory
|
extern int buffer_read_memory
|
||||||
PARAMS ((bfd_vma, bfd_byte *, int, struct disassemble_info *));
|
PARAMS ((bfd_vma, bfd_byte *, unsigned int, struct disassemble_info *));
|
||||||
|
|
||||||
/* This function goes with buffer_read_memory.
|
/* This function goes with buffer_read_memory.
|
||||||
It prints a message using info->fprintf_func and info->stream. */
|
It prints a message using info->fprintf_func and info->stream. */
|
||||||
|
|
Loading…
Reference in New Issue