Re: [PATCH] export length of os_hpmc vector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > change this to 
> > 	.word .os_hpmc_end-os_hpmc
> > and drop the local label ".os_hpmc"
> > 
> 
> In his previous mail JDA said to use local labels for safety...

The important thing is to ensure that the diff is an absolute value,
and that there's no relocation for the diff.

Diffs are tricky.  There may be a stub associated with os_hpmc.  I know
gdb sometimes gets confused between the stub and real entry point of
a function, and GCC always uses local labels in the exception and debug
tables.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux