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]

.reloc for PocketPC changed between gas 2.13.2 and 2.14


There was a thread some time back with the subject
	gas: wince DLL regression from 2.11.2 to 2.14
I've looked some more into this problem and found that 2.13.2 also
works, and 2.14 definitely does not work. So, I've compiled the same DLL
twice, each time with the same version of gcc and binutils, except gas.
The first time I use gas version 2.14; the second time I use gas 2.13.2.
I then ran arm-wince-pe-objdump -dph on the resulting DLL, and diffed
the two outputs. I found the only changes are in the .reloc section,
which has changed substantially. I've included the diff here. It seems
to me if the .text sections are identical, the .reloc section should
definitely not change. I'm not at all familiar with the DLL reloction
scheme though. What's happened here?

Thanks,
Shaun


--- libpathport-2.13.2.s	2003-07-30 13:51:11.000000000 -0600
+++ libpathport-2.14.s	2003-07-30 13:51:18.000000000 -0600
@@ -1,12 +1,12 @@
 
-libpathport-2.13.2/pathportjni.exe:     file format pei-arm-little
+libpathport-2.14/pathportjni.exe:     file format pei-arm-little
 
 Characteristics 0x6c06
 	executable
 	line numbers stripped
 	DLL
 
-Time/Date		Wed Jul 30 13:45:17 2003
+Time/Date		Wed Jul 30 13:19:20 2003
 
 ImageBase		10000000
 SectionAlignment	00001000
@@ -20,7 +20,7 @@
 Win32Version		00000000
 SizeOfImage		00221000
 SizeOfHeaders		00000400
-CheckSum		0022980b
+CheckSum		00235f55
 Subsystem		00000009	(Wince CUI)
 DllCharacteristics	00000000
 SizeOfStackReserve	00100000
@@ -36,7 +36,7 @@
 Entry 2 00000000 00000000 Resource Directory [.rsrc]
 Entry 3 00000000 00000000 Exception Directory [.pdata]
 Entry 4 00000000 00000000 Security Directory
-Entry 5 0001d000 00001744 Base Relocation Directory [.reloc]
+Entry 5 0001d000 00001764 Base Relocation Directory [.reloc]
 Entry 6 00000000 00000000 Debug Directory
 Entry 7 00000000 00000000 Description Directory
 Entry 8 00000000 00000000 Special Directory
@@ -115,7 +115,7 @@
 The Export Tables (interpreted .edata section contents)
 
 Export Flags 			0
-Time/Date stamp 		3f28204c
+Time/Date stamp 		3f281a37
 Major/Minor 			0/0
 Name 				0001b028 pathportjni.exe
 Ordinal Base 			1
@@ -256,57 +256,65 @@
 	reloc   48 offset  fa8 [1fa8] HIGHLOW
 	reloc   49 offset  fec [1fec] HIGHLOW
 
-Virtual Address: 00002000 Chunk size 104 (0x68) Number of fixups 48
-	reloc    0 offset  2f8 [22f8] HIGHLOW
-	reloc    1 offset  2fc [22fc] HIGHLOW
-	reloc    2 offset  300 [2300] HIGHLOW
-	reloc    3 offset  308 [2308] HIGHLOW
-	reloc    4 offset  30c [230c] HIGHLOW
-	reloc    5 offset  318 [2318] HIGHLOW
-	reloc    6 offset  31c [231c] HIGHLOW
-	reloc    7 offset  320 [2320] HIGHLOW
-	reloc    8 offset  324 [2324] HIGHLOW
-	reloc    9 offset  4b4 [24b4] HIGHLOW
-	reloc   10 offset  4b8 [24b8] HIGHLOW
-	reloc   11 offset  4bc [24bc] HIGHLOW
-	reloc   12 offset  4c8 [24c8] HIGHLOW
-	reloc   13 offset  5e4 [25e4] HIGHLOW
-	reloc   14 offset  5e8 [25e8] HIGHLOW
-	reloc   15 offset  5ec [25ec] HIGHLOW
-	reloc   16 offset  5f0 [25f0] HIGHLOW
-	reloc   17 offset  878 [2878] HIGHLOW
-	reloc   18 offset  87c [287c] HIGHLOW
-	reloc   19 offset  880 [2880] HIGHLOW
-	reloc   20 offset  888 [2888] HIGHLOW
-	reloc   21 offset  88c [288c] HIGHLOW
-	reloc   22 offset  894 [2894] HIGHLOW
-	reloc   23 offset  b90 [2b90] HIGHLOW
-	reloc   24 offset  b94 [2b94] HIGHLOW
-	reloc   25 offset  b98 [2b98] HIGHLOW
-	reloc   26 offset  ba0 [2ba0] HIGHLOW
-	reloc   27 offset  ba4 [2ba4] HIGHLOW
-	reloc   28 offset  bac [2bac] HIGHLOW
-	reloc   29 offset  c20 [2c20] HIGHLOW
-	reloc   30 offset  c28 [2c28] HIGHLOW
-	reloc   31 offset  c2c [2c2c] HIGHLOW
-	reloc   32 offset  c30 [2c30] HIGHLOW
-	reloc   33 offset  c34 [2c34] HIGHLOW
-	reloc   34 offset  c38 [2c38] HIGHLOW
-	reloc   35 offset  dd4 [2dd4] HIGHLOW
-	reloc   36 offset  de0 [2de0] HIGHLOW
-	reloc   37 offset  de4 [2de4] HIGHLOW
-	reloc   38 offset  e24 [2e24] HIGHLOW
-	reloc   39 offset  e64 [2e64] HIGHLOW
-	reloc   40 offset  ea0 [2ea0] HIGHLOW
-	reloc   41 offset  edc [2edc] HIGHLOW
-	reloc   42 offset  f1c [2f1c] HIGHLOW
-	reloc   43 offset  f44 [2f44] HIGHLOW
-	reloc   44 offset  f6c [2f6c] HIGHLOW
-	reloc   45 offset  f9c [2f9c] HIGHLOW
-	reloc   46 offset  fcc [2fcc] HIGHLOW
-	reloc   47 offset    0 [2000] ABSOLUTE
+Virtual Address: 00002000 Chunk size 120 (0x78) Number of fixups 56
+	reloc    0 offset  1c8 [21c8] HIGHLOW
+	reloc    1 offset  2f8 [22f8] HIGHLOW
+	reloc    2 offset  2fc [22fc] HIGHLOW
+	reloc    3 offset  300 [2300] HIGHLOW
+	reloc    4 offset  308 [2308] HIGHLOW
+	reloc    5 offset  30c [230c] HIGHLOW
+	reloc    6 offset  318 [2318] HIGHLOW
+	reloc    7 offset  31c [231c] HIGHLOW
+	reloc    8 offset  320 [2320] HIGHLOW
+	reloc    9 offset  324 [2324] HIGHLOW
+	reloc   10 offset  440 [2440] HIGHLOW
+	reloc   11 offset  4b4 [24b4] HIGHLOW
+	reloc   12 offset  4b8 [24b8] HIGHLOW
+	reloc   13 offset  4bc [24bc] HIGHLOW
+	reloc   14 offset  4c8 [24c8] HIGHLOW
+	reloc   15 offset  5e4 [25e4] HIGHLOW
+	reloc   16 offset  5e8 [25e8] HIGHLOW
+	reloc   17 offset  5ec [25ec] HIGHLOW
+	reloc   18 offset  5f0 [25f0] HIGHLOW
+	reloc   19 offset  878 [2878] HIGHLOW
+	reloc   20 offset  87c [287c] HIGHLOW
+	reloc   21 offset  880 [2880] HIGHLOW
+	reloc   22 offset  888 [2888] HIGHLOW
+	reloc   23 offset  88c [288c] HIGHLOW
+	reloc   24 offset  894 [2894] HIGHLOW
+	reloc   25 offset  b90 [2b90] HIGHLOW
+	reloc   26 offset  b94 [2b94] HIGHLOW
+	reloc   27 offset  b98 [2b98] HIGHLOW
+	reloc   28 offset  ba0 [2ba0] HIGHLOW
+	reloc   29 offset  ba4 [2ba4] HIGHLOW
+	reloc   30 offset  bac [2bac] HIGHLOW
+	reloc   31 offset  bbc [2bbc] HIGHLOW
+	reloc   32 offset  c20 [2c20] HIGHLOW
+	reloc   33 offset  c28 [2c28] HIGHLOW
+	reloc   34 offset  c2c [2c2c] HIGHLOW
+	reloc   35 offset  c30 [2c30] HIGHLOW
+	reloc   36 offset  c34 [2c34] HIGHLOW
+	reloc   37 offset  c38 [2c38] HIGHLOW
+	reloc   38 offset  d28 [2d28] HIGHLOW
+	reloc   39 offset  d70 [2d70] HIGHLOW
+	reloc   40 offset  d9c [2d9c] HIGHLOW
+	reloc   41 offset  db8 [2db8] HIGHLOW
+	reloc   42 offset  dd4 [2dd4] HIGHLOW
+	reloc   43 offset  de0 [2de0] HIGHLOW
+	reloc   44 offset  de4 [2de4] HIGHLOW
+	reloc   45 offset  e24 [2e24] HIGHLOW
+	reloc   46 offset  e64 [2e64] HIGHLOW
+	reloc   47 offset  e68 [2e68] HIGHLOW
+	reloc   48 offset  e6c [2e6c] HIGHLOW
+	reloc   49 offset  ea0 [2ea0] HIGHLOW
+	reloc   50 offset  edc [2edc] HIGHLOW
+	reloc   51 offset  f1c [2f1c] HIGHLOW
+	reloc   52 offset  f44 [2f44] HIGHLOW
+	reloc   53 offset  f6c [2f6c] HIGHLOW
+	reloc   54 offset  f9c [2f9c] HIGHLOW
+	reloc   55 offset  fcc [2fcc] HIGHLOW
 
-Virtual Address: 00003000 Chunk size 84 (0x54) Number of fixups 38
+Virtual Address: 00003000 Chunk size 96 (0x60) Number of fixups 44
 	reloc    0 offset   5c [305c] HIGHLOW
 	reloc    1 offset   84 [3084] HIGHLOW
 	reloc    2 offset   d0 [30d0] HIGHLOW
@@ -319,34 +327,40 @@
 	reloc    9 offset  340 [3340] HIGHLOW
 	reloc   10 offset  344 [3344] HIGHLOW
 	reloc   11 offset  348 [3348] HIGHLOW
-	reloc   12 offset  924 [3924] HIGHLOW
-	reloc   13 offset  928 [3928] HIGHLOW
-	reloc   14 offset  92c [392c] HIGHLOW
-	reloc   15 offset  934 [3934] HIGHLOW
-	reloc   16 offset  938 [3938] HIGHLOW
-	reloc   17 offset  944 [3944] HIGHLOW
-	reloc   18 offset  948 [3948] HIGHLOW
-	reloc   19 offset  94c [394c] HIGHLOW
-	reloc   20 offset  950 [3950] HIGHLOW
-	reloc   21 offset  954 [3954] HIGHLOW
-	reloc   22 offset  958 [3958] HIGHLOW
-	reloc   23 offset  a30 [3a30] HIGHLOW
-	reloc   24 offset  a38 [3a38] HIGHLOW
-	reloc   25 offset  a3c [3a3c] HIGHLOW
-	reloc   26 offset  b28 [3b28] HIGHLOW
-	reloc   27 offset  b2c [3b2c] HIGHLOW
-	reloc   28 offset  b34 [3b34] HIGHLOW
-	reloc   29 offset  b38 [3b38] HIGHLOW
-	reloc   30 offset  b3c [3b3c] HIGHLOW
-	reloc   31 offset  d7c [3d7c] HIGHLOW
-	reloc   32 offset  d80 [3d80] HIGHLOW
-	reloc   33 offset  d84 [3d84] HIGHLOW
-	reloc   34 offset  d8c [3d8c] HIGHLOW
-	reloc   35 offset  d90 [3d90] HIGHLOW
-	reloc   36 offset  eac [3eac] HIGHLOW
-	reloc   37 offset  fac [3fac] HIGHLOW
+	reloc   12 offset  488 [3488] HIGHLOW
+	reloc   13 offset  4dc [34dc] HIGHLOW
+	reloc   14 offset  924 [3924] HIGHLOW
+	reloc   15 offset  928 [3928] HIGHLOW
+	reloc   16 offset  92c [392c] HIGHLOW
+	reloc   17 offset  934 [3934] HIGHLOW
+	reloc   18 offset  938 [3938] HIGHLOW
+	reloc   19 offset  944 [3944] HIGHLOW
+	reloc   20 offset  948 [3948] HIGHLOW
+	reloc   21 offset  94c [394c] HIGHLOW
+	reloc   22 offset  950 [3950] HIGHLOW
+	reloc   23 offset  954 [3954] HIGHLOW
+	reloc   24 offset  958 [3958] HIGHLOW
+	reloc   25 offset  988 [3988] HIGHLOW
+	reloc   26 offset  a30 [3a30] HIGHLOW
+	reloc   27 offset  a38 [3a38] HIGHLOW
+	reloc   28 offset  a3c [3a3c] HIGHLOW
+	reloc   29 offset  b28 [3b28] HIGHLOW
+	reloc   30 offset  b2c [3b2c] HIGHLOW
+	reloc   31 offset  b34 [3b34] HIGHLOW
+	reloc   32 offset  b38 [3b38] HIGHLOW
+	reloc   33 offset  b3c [3b3c] HIGHLOW
+	reloc   34 offset  b64 [3b64] HIGHLOW
+	reloc   35 offset  cec [3cec] HIGHLOW
+	reloc   36 offset  d7c [3d7c] HIGHLOW
+	reloc   37 offset  d80 [3d80] HIGHLOW
+	reloc   38 offset  d84 [3d84] HIGHLOW
+	reloc   39 offset  d8c [3d8c] HIGHLOW
+	reloc   40 offset  d90 [3d90] HIGHLOW
+	reloc   41 offset  eac [3eac] HIGHLOW
+	reloc   42 offset  ed8 [3ed8] HIGHLOW
+	reloc   43 offset  fac [3fac] HIGHLOW
 
-Virtual Address: 00004000 Chunk size 100 (0x64) Number of fixups 46
+Virtual Address: 00004000 Chunk size 104 (0x68) Number of fixups 48
 	reloc    0 offset   c8 [40c8] HIGHLOW
 	reloc    1 offset   cc [40cc] HIGHLOW
 	reloc    2 offset   d0 [40d0] HIGHLOW
@@ -354,45 +368,47 @@
 	reloc    4 offset  180 [4180] HIGHLOW
 	reloc    5 offset  1ec [41ec] HIGHLOW
 	reloc    6 offset  218 [4218] HIGHLOW
-	reloc    7 offset  32c [432c] HIGHLOW
-	reloc    8 offset  330 [4330] HIGHLOW
-	reloc    9 offset  334 [4334] HIGHLOW
-	reloc   10 offset  338 [4338] HIGHLOW
-	reloc   11 offset  33c [433c] HIGHLOW
-	reloc   12 offset  340 [4340] HIGHLOW
-	reloc   13 offset  344 [4344] HIGHLOW
-	reloc   14 offset  37c [437c] HIGHLOW
-	reloc   15 offset  380 [4380] HIGHLOW
-	reloc   16 offset  384 [4384] HIGHLOW
-	reloc   17 offset  388 [4388] HIGHLOW
-	reloc   18 offset  38c [438c] HIGHLOW
-	reloc   19 offset  4d8 [44d8] HIGHLOW
-	reloc   20 offset  4dc [44dc] HIGHLOW
-	reloc   21 offset  4e0 [44e0] HIGHLOW
-	reloc   22 offset  4e4 [44e4] HIGHLOW
-	reloc   23 offset  4e8 [44e8] HIGHLOW
-	reloc   24 offset  4ec [44ec] HIGHLOW
-	reloc   25 offset  4f0 [44f0] HIGHLOW
-	reloc   26 offset  4f4 [44f4] HIGHLOW
-	reloc   27 offset  4f8 [44f8] HIGHLOW
-	reloc   28 offset  4fc [44fc] HIGHLOW
-	reloc   29 offset  500 [4500] HIGHLOW
-	reloc   30 offset  504 [4504] HIGHLOW
-	reloc   31 offset  508 [4508] HIGHLOW
-	reloc   32 offset  d58 [4d58] HIGHLOW
-	reloc   33 offset  d5c [4d5c] HIGHLOW
-	reloc   34 offset  d60 [4d60] HIGHLOW
-	reloc   35 offset  ed4 [4ed4] HIGHLOW
-	reloc   36 offset  ed8 [4ed8] HIGHLOW
-	reloc   37 offset  edc [4edc] HIGHLOW
-	reloc   38 offset  ee0 [4ee0] HIGHLOW
-	reloc   39 offset  ee4 [4ee4] HIGHLOW
-	reloc   40 offset  ee8 [4ee8] HIGHLOW
-	reloc   41 offset  f78 [4f78] HIGHLOW
-	reloc   42 offset  f7c [4f7c] HIGHLOW
-	reloc   43 offset  fc8 [4fc8] HIGHLOW
-	reloc   44 offset  fcc [4fcc] HIGHLOW
-	reloc   45 offset    0 [4000] ABSOLUTE
+	reloc    7 offset  220 [4220] HIGHLOW
+	reloc    8 offset  228 [4228] HIGHLOW
+	reloc    9 offset  32c [432c] HIGHLOW
+	reloc   10 offset  330 [4330] HIGHLOW
+	reloc   11 offset  334 [4334] HIGHLOW
+	reloc   12 offset  338 [4338] HIGHLOW
+	reloc   13 offset  33c [433c] HIGHLOW
+	reloc   14 offset  340 [4340] HIGHLOW
+	reloc   15 offset  344 [4344] HIGHLOW
+	reloc   16 offset  37c [437c] HIGHLOW
+	reloc   17 offset  380 [4380] HIGHLOW
+	reloc   18 offset  384 [4384] HIGHLOW
+	reloc   19 offset  388 [4388] HIGHLOW
+	reloc   20 offset  38c [438c] HIGHLOW
+	reloc   21 offset  4d8 [44d8] HIGHLOW
+	reloc   22 offset  4dc [44dc] HIGHLOW
+	reloc   23 offset  4e0 [44e0] HIGHLOW
+	reloc   24 offset  4e4 [44e4] HIGHLOW
+	reloc   25 offset  4e8 [44e8] HIGHLOW
+	reloc   26 offset  4ec [44ec] HIGHLOW
+	reloc   27 offset  4f0 [44f0] HIGHLOW
+	reloc   28 offset  4f4 [44f4] HIGHLOW
+	reloc   29 offset  4f8 [44f8] HIGHLOW
+	reloc   30 offset  4fc [44fc] HIGHLOW
+	reloc   31 offset  500 [4500] HIGHLOW
+	reloc   32 offset  504 [4504] HIGHLOW
+	reloc   33 offset  508 [4508] HIGHLOW
+	reloc   34 offset  d58 [4d58] HIGHLOW
+	reloc   35 offset  d5c [4d5c] HIGHLOW
+	reloc   36 offset  d60 [4d60] HIGHLOW
+	reloc   37 offset  ed4 [4ed4] HIGHLOW
+	reloc   38 offset  ed8 [4ed8] HIGHLOW
+	reloc   39 offset  edc [4edc] HIGHLOW
+	reloc   40 offset  ee0 [4ee0] HIGHLOW
+	reloc   41 offset  ee4 [4ee4] HIGHLOW
+	reloc   42 offset  ee8 [4ee8] HIGHLOW
+	reloc   43 offset  f78 [4f78] HIGHLOW
+	reloc   44 offset  f7c [4f7c] HIGHLOW
+	reloc   45 offset  fc8 [4fc8] HIGHLOW
+	reloc   46 offset  fcc [4fcc] HIGHLOW
+	reloc   47 offset    0 [4000] ABSOLUTE
 
 Virtual Address: 00005000 Chunk size 72 (0x48) Number of fixups 32
 	reloc    0 offset   88 [5088] HIGHLOW
@@ -3020,7 +3036,7 @@
                   CONTENTS, ALLOC, LOAD, DATA
   5 .idata        0000053c  1001c000  1001c000  00017600  2**2
                   CONTENTS, ALLOC, LOAD, DATA
-  6 .reloc        00001744  1001d000  1001d000  00017c00  2**2
+  6 .reloc        00001764  1001d000  1001d000  00017c00  2**2
                   CONTENTS, ALLOC, LOAD, DATA
   7 .stab         00054474  1001f000  1001f000  00019400  2**2
                   CONTENTS, READONLY, DEBUGGING, NEVER_LOAD, EXCLUDE


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