+2004-08-19 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen
+ to eliminate warning.
+ (linear_search_fdes): Declare p as unsigned.
+ (binary_search_mixed_encoding_fdes): Likewise.
+ * unwind-dw2.c (get_cie_encoding): Cast argument to strlen
+ to eliminate warning.
+ * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Add missing
+ type cast.
+
2004-08-19 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390-protos.h (preferred_la_operand_p): Adapt prototype.
\
if (signo_ && (*signo_ == 11 || *signo_ == 7)) \
{ \
- (FS)->regs.reg[33].loc.exp = regs_->psw_addr + 1; \
+ (FS)->regs.reg[33].loc.exp = \
+ (unsigned char *)regs_->psw_addr + 1; \
(FS)->regs.reg[32].loc.offset = \
(long)&(FS)->regs.reg[33].loc.exp - new_cfa_; \
} \
if (aug[0] != 'z')
return DW_EH_PE_absptr;
- p = aug + strlen (aug) + 1; /* Skip the augmentation string. */
+ p = aug + strlen ((const char *)aug) + 1; /* Skip the augmentation string. */
p = read_uleb128 (p, &utmp); /* Skip code alignment. */
p = read_sleb128 (p, &stmp); /* Skip data alignment. */
if (cie->version == 1) /* Skip return address column. */
else
{
_Unwind_Ptr mask;
- const char *p;
+ const unsigned char *p;
p = read_encoded_value_with_base (encoding, base,
this_fde->pc_begin, &pc_begin);
size_t i = (lo + hi) / 2;
const fde *f = vec->array[i];
_Unwind_Ptr pc_begin, pc_range;
- const char *p;
+ const unsigned char *p;
p = read_encoded_value_with_base (encoding, base, f->pc_begin,
&pc_begin);
size_t i = (lo + hi) / 2;
const fde *f = vec->array[i];
_Unwind_Ptr pc_begin, pc_range;
- const char *p;
+ const unsigned char *p;
int encoding;
encoding = get_fde_encoding (f);
_Unwind_FrameState *fs)
{
const unsigned char *aug = cie->augmentation;
- const unsigned char *p = aug + strlen (aug) + 1;
+ const unsigned char *p = aug + strlen ((const char *)aug) + 1;
const unsigned char *ret = NULL;
_Unwind_Word utmp;