This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Is it valid in GAS?


Hi,
      Is the following declartion valid in GAS Assembler.

	___DTOR_LIST:
      		  .short 0x88
	Lp.1:
      	  .short  ___DTOR_LIST - 5	/*Is negative i .e substraction
allowed*/


If yes, then how do i find this addended in tc_gen_reloc().

It is perfectly working fine for postive values but not working for negative
values.

Thanks
Vineet


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]